A newer version of this page is available. Switch to the current version.

CustomDrawObjectEventArgs.DrawDefault() Method

Renders the element using the default drawing mechanism.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.dll


public void DrawDefault()
Public Sub DrawDefault


The DrawDefault method invokes the default drawing procedure to paint an element, and enables you to combine your own custom painting with a default one. Handle the necessary CustomDraw* event and set CustomDrawObjectEventArgs.Handled to true to prevent default painting from being performed after the handler code execution. Use DrawDefault method in the handler code to render the element using the default drawing mechanism.

See Also