GroupCaptionCustomDrawEventHandler Delegate

Represents a method that will handle the GroupControl.CustomDrawCaption event.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v20.1.dll

Declaration

public delegate void GroupCaptionCustomDrawEventHandler(
    object sender,
    GroupCaptionCustomDrawEventArgs e
);
Public Delegate Sub GroupCaptionCustomDrawEventHandler(
    sender As Object,
    e As GroupCaptionCustomDrawEventArgs
)

Parameters

Name Type Description
sender Object

The event source. This parameter identifies the group control which raised the event.

e GroupCaptionCustomDrawEventArgs

A GroupCaptionCustomDrawEventArgs object that contains event data.

Remarks

When creating a GroupCaptionCustomDrawEventHandler 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