SelectedItemChanged Event
Collapse the table of content
Expand the table of content

TreeView.SelectedItemChanged Event


Occurs when the SelectedItem changes.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public event RoutedPropertyChangedEventHandler<object> SelectedItemChanged

<object SelectedItemChanged="RoutedPropertyChangedEventHandler"/>

The following example shows how to specify an event handler for the SelectedItemChanged event.

The following example shows how to define the event handler.

.NET Framework
Available since 3.0
Available since 3.0
Return to top
© 2015 Microsoft