Syncfusion.Grid.Windows
Example 


Syncfusion.Windows.Forms.Grid Namespace > GridControl Class : ActivateCurrentCellBehavior Property

ActivateCurrentCellBehavior Property (GridControl)

See GridModelOptions.ActivateCurrentCellBehavior in the GridModel class for information.
Syntax
'Declaration
 
<CategoryAttribute("Grid")>
<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
<DescriptionAttribute("Specifies current cell activation behavior when moving the current cell or clicking inside a cell.")>
<BrowsableAttribute(True)>
Public Property ActivateCurrentCellBehavior As GridCellActivateAction
'Usage
 
Dim instance As GridControl
Dim value As GridCellActivateAction
 
instance.ActivateCurrentCellBehavior = value
 
value = instance.ActivateCurrentCellBehavior
[Category("Grid")]
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[Description("Specifies current cell activation behavior when moving the current cell or clicking inside a cell.")]
[Browsable(true)]
public GridCellActivateAction ActivateCurrentCellBehavior {get; set;}
Example
This example shows how to use ActivateCurrentCellBehavior property.
// Current cell will be activated when clicking on a cell.
this.gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.ClickOnCell;
' Current cell will be activated when clicking on a cell.
Me.gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.ClickOnCell
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also