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

TreeList.SelectImageClick Event

Fires when the user clicks a node’s select image.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.1.dll

Declaration

[Browsable(false)]
public event NodeClickEventHandler SelectImageClick

Event Data

The SelectImageClick event's data class is NodeClickEventArgs. The following properties provide information specific to this event:

Property Description
Button Gets which mouse button was pressed. Inherited from MouseEventArgs.
Clicks Gets the number of times the mouse button was pressed and released. Inherited from MouseEventArgs.
Delta Gets a signed count of the number of detents the mouse wheel has rotated, multiplied by the WHEEL_DELTA constant. A detent is one notch of the mouse wheel. Inherited from MouseEventArgs.
Handled Gets or sets whether this event should be forwarded to the control’s parent container. Inherited from HandledMouseEventArgs.
IsHMouseWheel This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DXMouseEventArgs.
IsMouseEvent Gets whether these event arguments provide data for the MouseUp, MouseDown, and MouseMove events. Inherited from DXMouseEventArgs.
Location Gets the location of the mouse during the generating mouse event. Inherited from MouseEventArgs.
Node Gets the row (node) being clicked.
Point Gets the mouse pointer’s location.
X Gets the x-coordinate of the mouse during the generating mouse event. Inherited from MouseEventArgs.
Y Gets the y-coordinate of the mouse during the generating mouse event. Inherited from MouseEventArgs.

The event data class exposes the following methods:

Method Description
GetMouseArgs(Control, EventArgs) Converts the MouseEventArgs object passed as a parameter to a DXMouseEventArgs object. Inherited from DXMouseEventArgs.
GetMouseArgs(MouseEventArgs) Converts the MouseEventArgs object passed as a parameter to a DXMouseEventArgs object. Inherited from DXMouseEventArgs.
Sync() For internal use. Inherited from DXMouseEventArgs.

Remarks

Handle the SelectImageClick event to perform specific actions in response to clicking a node’s select image. This can be useful when you need select images to provide custom functionality (node expansion, deletion, etc.). You can also change the select image when the user clicks it in order to display custom node states.

See Also