Share via


SelectedIndexChange Event

Fires when the user changes the selected TreeNode on the TreeView.

Syntax

Visual Basic  Public  Event SelectedIndexChange As SelectEventHandler
C# public   event SelectEventHandler SelectedIndexChange;
Managed C++ public:   __event SelectEventHandler SelectedIndexChange;
JScript In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

Argument Object TreeViewSelectEventArgs
Handler Delegate SelectEventHandler

Event Object Properties

Available Properties

NewNode
OldNode

Refer to the specific event object for additional event properties.

Applies To

TREEVIEW

See Also

Internet Explorer WebControls, About the TreeView WebControl