Syncfusion.Grid.Windows
Example 


EnterKeyBehavior Property (GridControl)

See GridModelOptions.EnterKeyBehavior in the GridModel class for information.
Syntax
'Declaration
 
<DescriptionAttribute("Controls what the grid does with the 'Enter' key.")>
<CategoryAttribute("Grid")>
<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
<BrowsableAttribute(True)>
Public Property EnterKeyBehavior As GridDirectionType
'Usage
 
Dim instance As GridControl
Dim value As GridDirectionType
 
instance.EnterKeyBehavior = value
 
value = instance.EnterKeyBehavior
[Description("Controls what the grid does with the 'Enter' key.")]
[Category("Grid")]
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[Browsable(true)]
public GridDirectionType EnterKeyBehavior {get; set;}
Example
This example shows how to use EnterKeyBehavior property.
// Moves the current cell to the bottom when pressing Enter key.
this.gridControl1.EnterKeyBehavior = GridDirectionType.Bottom;
' Moves the current cell to the bottom when pressing Enter key.
Me.gridControl1.EnterKeyBehavior = GridDirectionType.Bottom
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also