Back to Devexpress

RowAllowEventArgs Class

wpf-devexpress-dot-xpf-dot-grid-06cb55fa.md

latest2.5 KB
Original Source

RowAllowEventArgs Class

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

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

RowAllowEventArgs is the data class for the following events:

Remarks

The GridControl.GroupRowExpanding and GridControl.GroupRowCollapsing events occur when a group row is about to be expanded or collapsed, allowing cancellation of the action.

To cancel the action, set the event parameter’s RowAllowEventArgs.Allow property to false. The processed row is returned by the RowEventArgs.Row property. Its handle is returned by the RowEventArgs.RowHandle property.

To learn more, see Expanding and Collapsing Group Rows.

Inheritance

Object EventArgs RoutedEventArgs RowEventArgs RowAllowEventArgs

See Also

RowAllowEventArgs Members

DevExpress.Xpf.Grid Namespace