Class ListBoxSelectionSettings
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 ListBoxSelectionSettings : EJTagHelper
Constructors
ListBoxSelectionSettings()
Declaration
public ListBoxSelectionSettings()
Properties
CheckboxPosition
Set the position of the checkbox.
Declaration
[HtmlAttributeName("checkboxPosition")]
public CheckBoxPosition CheckboxPosition { get; set; }
Property Value
Type | Description |
---|---|
CheckBoxPosition | The default value is CheckBoxPosition.Left |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
MvcTemplate<System.Object> |
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
[HtmlAttributeName("mode")]
public SelectionMode Mode { get; set; }
Property Value
Type | Description |
---|---|
SelectionMode | The default value is SelectionMode.Multiple |
ShowCheckbox
If 'showCheckbox' is set to true, then 'checkbox' will be visualized in the list item.
Declaration
[HtmlAttributeName("showCheckbox")]
public bool ShowCheckbox { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
ShowSelectAll
Allows you to either show or hide the selectAll option on the component.
Declaration
[HtmlAttributeName("showSelectAll")]
public bool ShowSelectAll { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |