Class ListBoxSelectionSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ListBoxSelectionSettingsBuilder
Namespace: Syncfusion.EJ2.DropDowns
Assembly: Syncfusion.EJ2.dll
Syntax
public class ListBoxSelectionSettingsBuilder : ControlBuilder
Constructors
ListBoxSelectionSettingsBuilder()
Declaration
public ListBoxSelectionSettingsBuilder()
ListBoxSelectionSettingsBuilder(ListBoxSelectionSettings)
Declaration
public ListBoxSelectionSettingsBuilder(ListBoxSelectionSettings model)
Parameters
Type | Name | Description |
---|---|---|
ListBoxSelectionSettings | model |
Methods
CheckboxPosition(CheckBoxPosition)
Set the position of the checkbox.
Declaration
public ListBoxSelectionSettingsBuilder CheckboxPosition(CheckBoxPosition value)
Parameters
Type | Name | Description |
---|---|---|
CheckBoxPosition | value |
Returns
Mode(SelectionMode)
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 ListBoxSelectionSettingsBuilder Mode(SelectionMode value)
Parameters
Type | Name | Description |
---|---|---|
SelectionMode | value |
Returns
ShowCheckbox(Boolean)
If 'showCheckbox' is set to true, then 'checkbox' will be visualized in the list item.
Declaration
public ListBoxSelectionSettingsBuilder ShowCheckbox(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
ShowSelectAll(Boolean)
Allows you to either show or hide the selectAll option on the component.
Declaration
public ListBoxSelectionSettingsBuilder ShowSelectAll(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |