Syncfusion.Grid.Windows


AllowSelection Property (GridModelOptions)

Gets or sets selection behavior of the grid.
Syntax
'Declaration
 
<DescriptionAttribute("Defines selection behavior of the grid.")>
<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
<CategoryAttribute("Behavior-Selection")>
<BrowsableAttribute(True)>
<EditorAttribute(Syncfusion.Windows.Forms.Design.EnumFlagsEditor, System.Drawing.Design.UITypeEditor)>
Public Property AllowSelection As GridSelectionFlags
'Usage
 
Dim instance As GridModelOptions
Dim value As GridSelectionFlags
 
instance.AllowSelection = value
 
value = instance.AllowSelection
[Description("Defines selection behavior of the grid.")]
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[Category("Behavior-Selection")]
[Browsable(true)]
[Editor(Syncfusion.Windows.Forms.Design.EnumFlagsEditor, System.Drawing.Design.UITypeEditor)]
public GridSelectionFlags AllowSelection {get; set;}

Property Value

A GridSelectionFlags that specifies options to be applied.
Remarks
You can customize the mouse controller's behavior at run-time while the user is performing the action by subscribing to the SelectionChanging and SelectionChanged events.

The SelectCellsMouseButtonsMask property lets you decide which mouse buttons can be used for selecting cells.

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also