Skip to main content

RowAllowEventArgs Class

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

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v23.2.dll

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

Declaration

public class RowAllowEventArgs :
    RowEventArgs

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

See Also