Class ListViewFieldSettings<TValue>
Configure handlers to handle the field settings with the ListView component.
Inheritance
Namespace: Syncfusion.Blazor.Lists
Assembly: Syncfusion.Blazor.dll
Syntax
public class ListViewFieldSettings<TValue> : OwningComponentBase
Type Parameters
Name | Description |
---|---|
TValue | TValue of the ListView component. |
Constructors
ListViewFieldSettings()
Declaration
public ListViewFieldSettings()
Properties
Child
Gets or sets Child
property is used for nested navigation of listed items.
Declaration
public string Child { get; set; }
Property Value
Type | Description |
---|---|
System.String | The child for current list. The default value is |
Enabled
Gets or sets the enabled state of the ListView component.
Declaration
public string Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.String |
|
GroupBy
Gets or sets the field value which is used to group ListView elements.
Declaration
public string GroupBy { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the field by which items are grouped. |
HtmlAttributes
Gets or sets the additional attributes such as id, class, etc.,and accepts attributes in a key-value pair format.
Declaration
public string HtmlAttributes { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is |
IconCss
Gets or sets the CSS to customize the icon for the list items dynamically.
Declaration
public string IconCss { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is |
Remarks
You can add a specific image to the icons using the iconCss
property.
Id
Gets or sets the id field mapped in data source.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is |
IsChecked
Gets or sets a value which is used to check whether the list items are in a checked state or not.
Declaration
public string IsChecked { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is |
Text
Gets or sets the text value from the data source for each list item.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is |
Tooltip
Gets or sets the tooltip text that displays information about the target element when hovering over list items.
Declaration
public string Tooltip { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is |
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |