Syncfusion.Grid.Windows
Example 


ListBoxSelectionMode Property (GridControl)

Gets or sets the method in which items are selected in the GridControl when it is being used in list box mode .

Syntax
'Declaration
 
<CategoryAttribute("Grid")>
<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
<DescriptionAttribute("Grid can simulate list boxes. In such mode indicates if the list box is to be single-select, multi-select, or unselectable.")>
Public Overridable Property ListBoxSelectionMode As SelectionMode
'Usage
 
Dim instance As GridControl
Dim value As SelectionMode
 
instance.ListBoxSelectionMode = value
 
value = instance.ListBoxSelectionMode
[Category("Grid")]
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[Description("Grid can simulate list boxes. In such mode indicates if the list box is to be single-select, multi-select, or unselectable.")]
public virtual SelectionMode ListBoxSelectionMode {get; set;}
Example
This example shows how to use ListBoxSelectionMode property.
// Setting grid's selection mode as MultiExtended
this.gridControl1.ListBoxSelectionMode = SelectionMode.MultiExtended;
' Setting grid control selection mode as MultiExtended
Me.gridControl1.ListBoxSelectionMode = SelectionMode.MultiExtended
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also