Back to Devexpress

MasterRowGetRelationNameEventArgs Class

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-2492c7ea.md

latest3.3 KB
Original Source

MasterRowGetRelationNameEventArgs Class

Provides data for the GridView.MasterRowGetRelationName event.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public class MasterRowGetRelationNameEventArgs :
    CustomMasterRowEventArgs
vb
Public Class MasterRowGetRelationNameEventArgs
    Inherits CustomMasterRowEventArgs

MasterRowGetRelationNameEventArgs is the data class for the following events:

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

MasterRowGetRelationNameEventArgs Members

MasterRowGetRelationName

Working with Master-Detail Relationships in Code

DevExpress.XtraGrid.Views.Grid Namespace