Class GridQueryAddVisibleColumnEventArgs
Provides data for QueryAddVisibleColumn event.
It is called for each column and lets you control at run-time if the column should be added to the
GridVisibleColumnDescriptorCollection. 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 GridQueryAddVisibleColumnEventArgs : SyncfusionCancelEventArgs
Constructors
GridQueryAddVisibleColumnEventArgs(GridTableDescriptor, GridVisibleColumnDescriptor)
Initializes the event args
Declaration
public GridQueryAddVisibleColumnEventArgs(GridTableDescriptor tableDescriptor, GridVisibleColumnDescriptor column)
Parameters
Type | Name | Description |
---|---|---|
GridTableDescriptor | tableDescriptor | The table descriptor. |
GridVisibleColumnDescriptor | column | The column. |
Properties
GridTableDescriptor
Gets the TableDescriptor
Declaration
[TraceProperty(true)]
public GridTableDescriptor GridTableDescriptor { get; }
Property Value
Type |
---|
GridTableDescriptor |
GridVisibleColumn
Get the Visible column of Grid table descriptor.
Declaration
[TraceProperty(true)]
public GridVisibleColumnDescriptor GridVisibleColumn { get; }
Property Value
Type |
---|
GridVisibleColumnDescriptor |