Class ListBoxSelectionSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ListBoxSelectionSettingsBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.DropDowns
Assembly: Syncfusion.AspNetMvc.DropDowns.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 |
|---|
| 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 |
|---|
| 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 |
|---|
| 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 |
|---|
| ListBoxSelectionSettingsBuilder |