Skip to main content
A newer version of this page is available.

GroupCaptionCustomDrawEventArgs.DefaultDraw() Method

Performs default painting of the control’s caption.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.2.dll

Declaration

public void DefaultDraw()

Remarks

To paint custom information over the default element rendering, call the DefaultDraw method and then draw custom information using the methods provided by the Graphics and/or Cache objects.

The DefaultDraw method automatically sets the Handled property to true to prevent additional default painting from being performed after a custom draw event handler has been completed.

The DefaultDraw method does nothing if the Handled property has already been set to true.

See Also