System.Windows.Forms.TreeViewAction Enumeration

Specifies the action that raised a System.Windows.Forms.TreeViewEventArgs event.

Syntax

public enum TreeViewAction

Remarks

This enumeration is used by members such as the erload:System.Windows.Forms.TreeViewEventArgs.#ctor constructor.

Members

Member NameDescription
ByKeyboard

The event was caused by a keystroke.

ByMouse

The event was caused by a mouse operation.

Collapse

The event was caused by the System.Windows.Forms.TreeNode collapsing.

Expand

The event was caused by the System.Windows.Forms.TreeNode expanding.

Unknown

The action that caused the event is unknown.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0