WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridQueryAddColumnEventArgs

    Show / Hide Table of Contents

    Class GridQueryAddColumnEventArgs

    Provides data for the QueryAddColumn event. The GridEngine.QueryAddColumn event affects the auto-population of the GridColumnDescriptorCollection.

    It is called for each column and lets you control at run-time if the column should be added to the GridColumnDescriptorCollection. You can set e.Cancel = True to avoid specific columns being added.

    Inheritance
    System.Object
    SyncfusionCancelEventArgs
    GridQueryAddColumnEventArgs
    Inherited Members
    SyncfusionCancelEventArgs.ToString()
    Namespace: Syncfusion.Windows.Forms.Grid.Grouping
    Assembly: Syncfusion.Grid.Grouping.Windows.dll
    Syntax
    public sealed class GridQueryAddColumnEventArgs : SyncfusionCancelEventArgs

    Constructors

    GridQueryAddColumnEventArgs(GridTableDescriptor, GridColumnDescriptor)

    Initializes a new instances of the GridQueryAddColumnEventArgs class that provides the event data.

    Declaration
    public GridQueryAddColumnEventArgs(GridTableDescriptor tableDescriptor, GridColumnDescriptor column)
    Parameters
    Type Name Description
    GridTableDescriptor tableDescriptor

    The table descriptor.

    GridColumnDescriptor column

    The column.

    Properties

    GridColumn

    Gets the Column.

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

    GridTableDescriptor

    Gets the TableDescriptor instance.

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