Back to Devexpress

RowAllowEventArgs Class

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-5ad22f9c.md

latest3.2 KB
Original Source

RowAllowEventArgs Class

Provides data for the GridView.GroupRowExpanding and GridView.GroupRowCollapsing events.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public class RowAllowEventArgs :
    RowEventArgs
vb
Public Class RowAllowEventArgs
    Inherits RowEventArgs

RowAllowEventArgs is the data class for the following events:

Remarks

The GridView.GroupRowExpanding and GridView.GroupRowCollapsing events fire when a group row is about to be expanded or collapsed respectively. They enable you to prohibit changing the row’s expanded state. The RowAllowEventArgs class introduces the RowAllowEventArgs.Allow property for this purpose. The inherited RowEventArgs.RowHandle property allows you to identify the row whose expanded state is about to be changed.

RowEventArgs objects are automatically created, initialized and passed to GridView.GroupRowExpanding and GridView.GroupRowCollapsing event handlers.

Inheritance

Object EventArgs RowEventArgs RowAllowEventArgs

See Also

RowAllowEventArgs Members

DevExpress.XtraGrid.Views.Base Namespace