RowAllowEventHandler.Invoke(Object, RowAllowEventArgs) Method

Represents a method that will handle the GridControl.GroupRowExpanding and GridControl.GroupRowCollapsed events.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.1.dll

Syntax

public virtual void Invoke(object sender, RowAllowEventArgs e)

Parameters

Type Name Description
Object sender

The event source. Identifies the View that raised the event.

RowAllowEventArgs e

A RowAllowEventArgs object that contains event data.

When you create a RowAllowEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see Events and Delegates in MSDN.