Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ItemReleased Event, SftTree Class

Occurs when a mouse button is released on an item, cell or part.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public event ItemReleasedEventHandler ItemReleased;
Public Event ItemReleased As ItemReleasedEventHandler

Comments

Occurs when a mouse button is released on an item, cell or part.

Please note that the ItemReleased event reflects mouse button events. The SelectionChange event should be used when selection changes need to be tracked, as these can also occur though keyboard input, which is not reflected by the ItemReleased event.

The ItemReleased event supplies all the necessary information to the application, so appropriate action can be taken. The application can display a context menu or display application specific information based on the event and the area clicked.

If the ItemReleased event is used to display a context sensitive menu (popup menu), the SoftelvdmUserControl.CancelMode method must be used before displaying the context menu.

See Also SftTree Class | Classes | SftTree/NET 2.0