Class GridWrapCellNextControlInFormEventArgs
Provides data about the cancelable WrapCellNextControlInForm event.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridWrapCellNextControlInFormEventArgs : SyncfusionCancelEventArgs
Remarks
GridWrapCellNextControlInFormEventArgs is a custom event argument class used by the WrapCellNextControlInForm event to notify you when the grid is about to be left because the user is at the top-left or bottom-right cell and about to tab out of the grid.
This event is only raised if the NextControlInForm has been specified for WrapCell.
Constructors
GridWrapCellNextControlInFormEventArgs(Boolean, Boolean)
Initializes a new instance of the GridWrapCellNextControlInFormEventArgs class.
Declaration
public GridWrapCellNextControlInFormEventArgs(bool forward, bool moveTopLeft)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | forward | Indicates if next or previous control in form should be selected. |
System.Boolean | moveTopLeft | When moving to the next control indicates if grid should move current cell to the top-left position. |
Properties
Forward
Gets a value indicating whether next or previous control in form should be selected.
Declaration
[TraceProperty(true)]
public bool Forward { get; }
Property Value
Type |
---|
System.Boolean |
MoveTopLeft
Gets or sets a value indicating whether if grid should move current cell when moving to the next control. to the top-left position.
Declaration
[TraceProperty(true)]
public bool MoveTopLeft { get; set; }
Property Value
Type |
---|
System.Boolean |