Skip to main content
A newer version of this page is available. .

MasterRowGetRelationNameEventArgs Class

Provides data for the GridView.MasterRowGetRelationName event.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v17.2.dll

Declaration

public class MasterRowGetRelationNameEventArgs :
    CustomMasterRowEventArgs

Remarks

The GridView.MasterRowGetRelationName event enables you to specify the level from the GridControl.LevelTreetree that will be used to represent data for a particular detail. Thus, the MasterRowGetRelationNameEventArgs class provides properties identifying the processed detail and specifying the associated level name. The currently processed detail is identified using the inherited CustomMasterRowEventArgs.RowHandle and CustomMasterRowEventArgs.RelationIndex properties. The MasterRowGetRelationNameEventArgs.RelationName property specifies the level associated with the current detail.

MasterRowGetRelationNameEventArgs objects are automatically created, initialized and passed to GridView.MasterRowGetRelationName event handlers.

The following code snippets (auto-collected from DevExpress Examples) contain references to the MasterRowGetRelationNameEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
EventArgs
CustomMasterRowEventArgs
MasterRowGetRelationNameEventArgs
See Also