WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridTableControlDrawCellEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridTableControlDrawCellEventArgs

    Holds a reference to a GridTableControl that initiates the original event and the inner GridDrawCellEventArgs that holds the event data of the underlying original event.

    Inheritance
    System.Object
    System.EventArgs
    SyncfusionEventArgs
    GridTableControlDrawCellEventArgs
    Inherited Members
    SyncfusionEventArgs.ToString()
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Grid.Grouping
    Assembly: Syncfusion.Grid.Grouping.Windows.dll
    Syntax
    public sealed class GridTableControlDrawCellEventArgs : 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

    GridTableControlDrawCellEventArgs(GridTableControl, GridDrawCellEventArgs)

    Initializes the event argument's object.

    Declaration
    public GridTableControlDrawCellEventArgs(GridTableControl tableControl, GridDrawCellEventArgs inner)
    Parameters
    Type Name Description
    GridTableControl tableControl

    A GridTableControl that initiates the original event.

    GridDrawCellEventArgs inner

    The inner GridDrawCellEventArgs that holds the event data of the underlying original event.

    Properties

    Inner

    The inner GridDrawCellEventArgs that holds the event data of the underlying original event.

    Declaration
    [TraceProperty(true)]
    public GridDrawCellEventArgs Inner { get; }
    Property Value
    Type Description
    GridDrawCellEventArgs

    TableControl

    A GridTableControl that initiates the original event.

    Declaration
    [TraceProperty(true)]
    public GridTableControl TableControl { get; }
    Property Value
    Type Description
    GridTableControl
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved