Class ListBoxFieldSettings
Fields property maps the columns of the data table and binds the data to the component.
Inheritance
Namespace: Syncfusion.Blazor.DropDowns
Assembly: Syncfusion.Blazor.dll
Syntax
public class ListBoxFieldSettings : OwningComponentBase
Constructors
ListBoxFieldSettings()
Declaration
public ListBoxFieldSettings()
Properties
GroupBy
Gets or sets a value that indicates the groupBy value to group the list items.
Declaration
public string GroupBy { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HtmlAttributes
Gets or sets a collection of additional attributes that will applied to the listbox container element.
Declaration
public string HtmlAttributes { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Additional attributes can be added by specifying as inline attributes or by specifying @attributes
directive.
IconCss
Gets or sets a value that indicates a CSS class string to include an icon or image for each list item.
Declaration
public string IconCss { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts a CSS class string separated by space to include an icon or image for each list item. The default value is |
Text
Gets or sets a value that indicates a text for mapping column from data table for each list item.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Value
Gets or sets a value that indicates a value for mapping column from data table for each list item.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 | Description |
---|---|
System.Threading.Tasks.Task |