Back to Devexpress

SplitContainerControl.CustomDrawCaption Event

windowsforms-devexpress-dot-xtraeditors-dot-splitcontainercontrol-317c8920.md

latest2.7 KB
Original Source

SplitContainerControl.CustomDrawCaption Event

This property is not relevant for this class.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public override event GroupCaptionCustomDrawEventHandler CustomDrawCaption
vb
<Browsable(False)>
Public Overrides Event CustomDrawCaption As GroupCaptionCustomDrawEventHandler

Event Data

The CustomDrawCaption event's data class is GroupCaptionCustomDrawEventArgs. The following properties provide information specific to this event:

PropertyDescription
CaptionBoundsGets the painted caption’s bounding rectangle.
InfoGets information on the painted group.
PainterProvides access to the object that performs paint operations. Inherited from ObjectCustomDrawEventArgs.

The event data class exposes the following methods:

MethodDescription
DefaultDrawBackground()Performs default painting of the control’s caption background.
DefaultDrawButtons()Performs default painting of the buttons embedded in the control’s caption.
DefaultDrawImage()Performs default painting of the control’s caption image.
DefaultDrawText()Performs default painting of the text in the control’s caption.

See Also

SplitContainerControl Class

SplitContainerControl Members

DevExpress.XtraEditors Namespace