Class ListBoxSelectionSettingsBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
Type | Description |
---|---|
ListBoxSelectionSettingsBuilder |
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
Type | Description |
---|---|
ListBoxSelectionSettingsBuilder |
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
Type | Description |
---|---|
ListBoxSelectionSettingsBuilder |
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 |
Returns
Type | Description |
---|---|
ListBoxSelectionSettingsBuilder |