Class GridTableControlCurrentCellActivatingEventArgs
Holds a reference to a GridTableControl that initiates the original event and the inner GridCurrentCellActivatingEventArgs that holds the event data of the underlying original event.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public sealed class GridTableControlCurrentCellActivatingEventArgs : SyncfusionEventArgs
Remarks
A GridGroupingControl can have one or multiples child table controls. Each of these controls raises various events.
The GridGroupingControl makes it easy for the programmer to subscribe to events raised by each of these child table controls. GridGroupingControl internally listens to these events and raises a new event that wraps the inner arguments in an EventArgs class together with a reference to the original GridTableControl that raised the event.
This removes the burden from the programmer to subscribe and unsubscribe to events of child table controls.
Instead a programmer can subscribe to the TableControl events raised by GridGroupingControl. Each of these events has a TableControl property with reference to the GridTableControl and an Inner property that holds a reference to the original event arguments.
Constructors
GridTableControlCurrentCellActivatingEventArgs(GridTableControl, GridCurrentCellActivatingEventArgs)
Initializes the event argument's object.
Declaration
public GridTableControlCurrentCellActivatingEventArgs(GridTableControl tableControl, GridCurrentCellActivatingEventArgs inner)
Parameters
Type | Name | Description |
---|---|---|
GridTableControl | tableControl | A GridTableControl that initiates the original event. |
GridCurrentCellActivatingEventArgs | inner | The inner GridCurrentCellActivatingEventArgs that holds the event data of the underlying original event. |
Properties
Inner
The inner GridCurrentCellActivatingEventArgs that holds the event data of the underlying original event.
Declaration
[TraceProperty(true)]
public GridCurrentCellActivatingEventArgs Inner { get; }
Property Value
Type |
---|
GridCurrentCellActivatingEventArgs |
TableControl
A GridTableControl that initiates the original event.
Declaration
[TraceProperty(true)]
public GridTableControl TableControl { get; }
Property Value
Type |
---|
GridTableControl |