Class GridTableControlDrawCellBackgroundEventArgs
Holds a reference to a GridTableControl that initiates the original event and the inner GridDrawCellBackgroundEventArgs 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 GridTableControlDrawCellBackgroundEventArgs : SyncfusionEventArgs
Remarks
A GridGroupingControl can have one or multiple 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. The 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 the 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
GridTableControlDrawCellBackgroundEventArgs(GridTableControl, GridDrawCellBackgroundEventArgs)
Initializes the event argument's object.
Declaration
public GridTableControlDrawCellBackgroundEventArgs(GridTableControl tableControl, GridDrawCellBackgroundEventArgs inner)
Parameters
Type | Name | Description |
---|---|---|
GridTableControl | tableControl | A GridTableControl that initiates the original event. |
GridDrawCellBackgroundEventArgs | inner | The inner GridDrawCellBackgroundEventArgs that holds the event data of the underlying original event. |
Properties
Inner
The inner GridDrawCellBackgroundEventArgs that holds the event data of the underlying original event.
Declaration
[TraceProperty(true)]
public GridDrawCellBackgroundEventArgs Inner { get; }
Property Value
Type |
---|
GridDrawCellBackgroundEventArgs |
TableControl
A GridTableControl that initiates the original event.
Declaration
[TraceProperty(true)]
public GridTableControl TableControl { get; }
Property Value
Type |
---|
GridTableControl |