A newer version of this page is available. Switch to the current version.

CustomMasterRowEventHandler Delegate

Represents a method that will handle the GridView.MasterRowCollapsed and GridView.MasterRowExpanded events.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public delegate void CustomMasterRowEventHandler(
    object sender,
    CustomMasterRowEventArgs e
);
Public Delegate Sub CustomMasterRowEventHandler(
    sender As Object,
    e As CustomMasterRowEventArgs
)

Parameters

Name Type Description
sender Object

The event source. This parameter identifies the View that raised the event.

e CustomMasterRowEventArgs

A CustomMasterRowEventArgs that contains event data.

Remarks

When you create a CustomMasterRowEventHandler delegate, you identify the method that will handle the corresponding event. To associate an 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 on event handler delegates, see Events and Delegates in MSDN.

See Also