Class QueryAddRelationEventArgs
The Engine.QueryAddRelation event affects the autopopulation of the RelationDescriptorCollection.
It is called for each relation that is found in a DataView. You can set e.Cancel = True to avoid specific relations being added.
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public sealed class QueryAddRelationEventArgs : SyncfusionCancelEventArgs
Constructors
QueryAddRelationEventArgs(TableDescriptor, RelationDescriptor)
Initializes the event args
Declaration
public QueryAddRelationEventArgs(TableDescriptor tableDescriptor, RelationDescriptor column)
Parameters
Type | Name | Description |
---|---|---|
TableDescriptor | tableDescriptor | The table descriptor. |
RelationDescriptor | column | The relation descriptor. |
Properties
Relation
The Relation
Declaration
[TraceProperty(true)]
public RelationDescriptor Relation { get; }
Property Value
Type |
---|
RelationDescriptor |
TableDescriptor
The TableDescriptor
Declaration
[TraceProperty(true)]
public TableDescriptor TableDescriptor { get; }
Property Value
Type |
---|
TableDescriptor |