Class GridTableControlMouseEventArgs
Holds a reference to a GridTableControl that initiates the original event and the inner System.Windows.Forms.MouseEventArgs contains the event data.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public sealed class GridTableControlMouseEventArgs : 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 TableControl property with reference to the GridTableControl and an Inner property that holds a reference to the original event arguments.
Constructors
GridTableControlMouseEventArgs(GridTableControl, MouseEventArgs)
Initializes the event argument's object.
Declaration
public GridTableControlMouseEventArgs(GridTableControl tableControl, MouseEventArgs inner)
Parameters
Type | Name | Description |
---|---|---|
GridTableControl | tableControl | A GridTableControl that initiates the original event. |
System.Windows.Forms.MouseEventArgs | inner | The System.Windows.Forms.MouseEventArgs contains the event data. |
Properties
Inner
Gets the property values of System.Windows.Forms.MouseEventArgs class.
Declaration
[TraceProperty(true)]
public MouseEventArgs Inner { get; }
Property Value
Type |
---|
System.Windows.Forms.MouseEventArgs |
TableControl
A GridTableControl that initiated the original event.
Declaration
[TraceProperty(true)]
public GridTableControl TableControl { get; }
Property Value
Type |
---|
GridTableControl |