TreeList.CustomDrawNodeCheckBox Event

Enables you to manually paint node check boxes.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DXCategory("CustomDraw")]
public event CustomDrawNodeCheckBoxEventHandler CustomDrawNodeCheckBox
<DXCategory("CustomDraw")>
Public Event CustomDrawNodeCheckBox As CustomDrawNodeCheckBoxEventHandler

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.

See Also