Syncfusion.Grid.Windows
Example 


ControllerOptions Property (GridControl)

See GridModelOptions.ControllerOptionsChanged in the GridModel class for information.
Syntax
'Declaration
 
<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
<DescriptionAttribute("Specifies which mouse controllers should be enabled for the grid.")>
<RefreshPropertiesAttribute(RefreshProperties.All)>
<CategoryAttribute("Grid")>
<EditorAttribute(Syncfusion.Windows.Forms.Design.EnumFlagsEditor, System.Drawing.Design.UITypeEditor)>
Public Property ControllerOptions As GridControllerOptions
'Usage
 
Dim instance As GridControl
Dim value As GridControllerOptions
 
instance.ControllerOptions = value
 
value = instance.ControllerOptions
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[Description("Specifies which mouse controllers should be enabled for the grid.")]
[RefreshProperties(RefreshProperties.All)]
[Category("Grid")]
[Editor(Syncfusion.Windows.Forms.Design.EnumFlagsEditor, System.Drawing.Design.UITypeEditor)]
public GridControllerOptions ControllerOptions {get; set;}
Example
This example shows how to use ControllerOptions property.
// Resizing and selecting functionality of row and column will be enabled for grid. Other functionalities like Clicking, OleDropTarget ..etc will not be worked.
this.gridControl1.ControllerOptions = GridControllerOptions.ResizeCells | GridControllerOptions.SelectCells;
' Resizing and selecting functionality of row and column will be enabled for grid. Other functionalities like Clicking, OleDropTarget ..etc will not be worked.
Me.gridControl1.ControllerOptions = (GridControllerOptions.ResizeCells Or GridControllerOptions.SelectCells)
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also