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

TreeList.CustomDrawNodeCheckBox Event

Enables you to manually paint node check boxes.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.1.dll

Declaration

[DXCategory("CustomDraw")]
public event CustomDrawNodeCheckBoxEventHandler CustomDrawNodeCheckBox

Event Data

The CustomDrawNodeCheckBox event's data class is DevExpress.XtraTreeList.CustomDrawNodeCheckBoxEventArgs.

Remarks

The event parameter provides you all the information necessary to paint a node check box (see Node Checking - Checkboxes and Radio Buttons). The Node property returns the node currently being painted.

See the Custom Draw Scenarios topic for information on using custom draw events.

Important

Never change cell values or modify the control’s layout on this event, or any other event designed to tune the control’s appearance. Any action that causes a layout update can cause the control to malfunction.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CustomDrawNodeCheckBox event.

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