Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MasterRowGetRelationNameEventArgs Class

Provides data for the GridView.MasterRowGetRelationName event.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#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.

#Inheritance

Object
EventArgs
CustomMasterRowEventArgs
MasterRowGetRelationNameEventArgs
See Also