Syncfusion.Grid.Windows


Syncfusion.Windows.Forms.Grid Namespace > GridModelOptions Class : AllowScrollCurrentCellInView Property

AllowScrollCurrentCellInView Property (GridModelOptions)

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

Property Value

A GridScrollCurrentCellReason that specifies options to be applied.
Remarks
You can customize the current cell's scroll behavior at run-time by subscribing to the QueryScrollCellInView event.

The AllowScrollCurrentCellInView property lets you specify the mask for which reason the scrolling should happen.

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also