Skip to main content

CustomDrawItemEventArgs.DefaultDraw(CustomDrawItemMode) Method

Allows you to define which elements of the default painting should be painted.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v23.2.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

public void DefaultDraw(
    CustomDrawItemMode drawMode = CustomDrawItemMode.All
)

Optional Parameters

Name Type Default Description
drawMode CustomDrawItemMode All

A CustomDrawItemMode value that determines which elements of the default painting should be painted.

Remarks

This method is not in effect if the event’s Handled parameter is set to false.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DefaultDraw(CustomDrawItemMode) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also