Back to Devexpress

MasterRowEmptyEventArgs Class

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-b9c76445.md

latest2.8 KB
Original Source

MasterRowEmptyEventArgs Class

Provides data for the GridView.MasterRowEmpty event.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

MasterRowEmptyEventArgs is the data class for the following events:

Remarks

The GridView.MasterRowEmpty event enables you to specify whether a particular master row’s detail contains data. Thus, the MasterRowEmptyEventArgs class provides the inherited CustomMasterRowEventArgs.RowHandle property identifying the currently processed master row. The detail whose empty state is to be specified can be identified using the CustomMasterRowEventArgs.RelationIndex property. Finally, the MasterRowEmptyEventArgs.IsEmpty property is used to specify whether the detail contains data.

MasterRowEmptyEventArgs objects are automatically created, initialized and passed to GridView.MasterRowEmpty event handlers.

Inheritance

Object EventArgs CustomMasterRowEventArgs MasterRowEmptyEventArgs

See Also

MasterRowEmptyEventArgs Members

MasterRowEmpty

Working with Master-Detail Relationships in Code

DevExpress.XtraGrid.Views.Grid Namespace