Class GridQueryAddColumnEventArgs
Provides data for the QueryAddColumn event.
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.
Inherited Members
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 |
---|
GridColumnDescriptor |
GridTableDescriptor
Gets the TableDescriptor instance.
Declaration
[TraceProperty(true)]
public GridTableDescriptor GridTableDescriptor { get; }
Property Value
Type |
---|
GridTableDescriptor |