Skip to main content

DocumentEventHandler Delegate

A method that will handle events that take a DocumentEventArgs object as a parameter.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public delegate void DocumentEventHandler(
    object sender,
    DocumentEventArgs e
);

Parameters

Name Type Description
sender Object

The event source. The BaseView that raised the event.

e DocumentEventArgs

A DocumentEventArgs object that contains event data.

Remarks

When creating a DocumentEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to this 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