Back to Devexpress

MasterRowGetLevelDefaultViewEventArgs Class

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-6683277c.md

latest3.1 KB
Original Source

MasterRowGetLevelDefaultViewEventArgs Class

Provides data for the GridView.MasterRowGetLevelDefaultView event.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

MasterRowGetLevelDefaultViewEventArgs is the data class for the following events:

Remarks

The GridView.MasterRowGetLevelDefaultView event allows you to specify the View to represent a particular detail. Thus, the MasterRowGetLevelDefaultViewEventArgs object provides properties identifying the processed detail and specifying the View to use. The currently processed detail is identified by the inherited CustomMasterRowEventArgs.RowHandle and CustomMasterRowEventArgs.RelationIndex properties. The View is specified by the introduced MasterRowGetLevelDefaultViewEventArgs.DefaultView property.

MasterRowGetLevelDefaultViewEventArgs objects are automatically created, initialized and passed to GridView.MasterRowGetLevelDefaultView event handlers.

Inheritance

Object EventArgs CustomMasterRowEventArgs MasterRowGetLevelDefaultViewEventArgs

See Also

MasterRowGetLevelDefaultViewEventArgs Members

MasterRowGetLevelDefaultView

Working with Master-Detail Relationships in Code

DevExpress.XtraGrid.Views.Grid Namespace