Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RowAllowEventArgs Class

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

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.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