Back to Devexpress

TreeList.SelectImageClick Event

windowsforms-devexpress-dot-xtratreelist-dot-treelist-6e1a038e.md

latest6.3 KB
Original Source

TreeList.SelectImageClick Event

Fires when the user clicks a node’s select image. This event is obsolete. Use RowSelectImageClick instead.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public event NodeClickEventHandler SelectImageClick
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Event SelectImageClick As NodeClickEventHandler

Event Data

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

PropertyDescription
ButtonGets which mouse button was pressed. Inherited from MouseEventArgs.
ClicksGets the number of times the mouse button was pressed and released. Inherited from MouseEventArgs.
DeltaGets 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.
HandledGets or sets whether this event should be forwarded to the control’s parent container. Inherited from HandledMouseEventArgs.
IsHMouseWheelThis member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DXMouseEventArgs.
IsMouseEventGets whether these event arguments provide data for the MouseUp, MouseDown, and MouseMove events. Inherited from DXMouseEventArgs.
LocationGets the location of the mouse during the generating mouse event. Inherited from MouseEventArgs.
NodeGets the row (node) being clicked.
PointGets the mouse pointer’s location.
XGets the x-coordinate of the mouse during the generating mouse event. Inherited from MouseEventArgs.
YGets the y-coordinate of the mouse during the generating mouse event. Inherited from MouseEventArgs.

The event data class exposes the following methods:

MethodDescription
GetMouseArgs(Control, EventArgs)Converts the MouseEventArgs object passed as a parameter to a DXMouseEventArgs object. Inherited from DXMouseEventArgs.
GetMouseArgs(MouseEventArgs, Boolean)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.

See Also

SelectImageIndex

ImageIndexFieldName

GetSelectImage

CustomDrawNodeImages

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace