CustomDrawItemEventArgs.DefaultDraw(CustomDrawItemMode) Method
Allows you to define which elements of the default painting should be painted.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v24.2.dll
Declaration
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.
Related GitHub Examples
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.