Skip to main content

TreeList.CustomDrawNodeCheckBox Event

Enables you to manually paint node check boxes.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

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

Do not change cell values, modify the control’s layout, or change the control’s object model in the events used for custom control painting. Actions that update the layout 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