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

TreeList.CustomDrawNodeCheckBox Event

Enables you to manually paint node check boxes.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.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.

See Also