Back to Devexpress

GroupCaptionCustomDrawEventHandler Delegate

windowsforms-devexpress-dot-xtraeditors-538206b6.md

latest1.9 KB
Original Source

GroupCaptionCustomDrawEventHandler Delegate

A method that handles the GroupControl.CustomDrawCaption event.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

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

Parameters

NameTypeDescription
senderObject

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

| | e | GroupCaptionCustomDrawEventArgs |

A GroupCaptionCustomDrawEventArgs object that contains event data.

|

Remarks

When creating a GroupCaptionCustomDrawEventHandler delegate, you identify the method that handles 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

DevExpress.XtraEditors Namespace