Class ListBoxSelectionSettings
Defines the selection settings of List Box.
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
ListBoxSelectionSettings
Namespace: Syncfusion.Blazor.DropDowns
Assembly: Syncfusion.Blazor.dll
Syntax
public class ListBoxSelectionSettings : SfBaseComponent
Constructors
ListBoxSelectionSettings()
Declaration
public ListBoxSelectionSettings()
Properties
CheckboxPosition
Set the position of the checkbox.
Declaration
public CheckBoxPosition CheckboxPosition { get; set; }
Property Value
Type | Description |
---|---|
CheckBoxPosition |
Mode
Specifies the selection modes. The possible values are
Single
: Allows you to select a single item in the ListBox.
Multiple
: Allows you to select more than one item in the ListBox.
Declaration
public SelectionMode Mode { get; set; }
Property Value
Type | Description |
---|---|
SelectionMode |
ShowCheckbox
If 'showCheckbox' is set to true, then 'checkbox' will be visualized in the list item.
Declaration
public bool ShowCheckbox { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowSelectAll
Allows you to either show or hide the selectAll option on the component.
Declaration
public bool ShowSelectAll { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()