| C1.WPF Namespace > C1TreeView Class : SelectionChanged Event |
'DeclarationPublic Event SelectionChanged As SelectionChangedEventHandler
'UsageDim instance As C1TreeView Dim handler As SelectionChangedEventHandler AddHandler instance.SelectionChanged, handler
public event SelectionChangedEventHandler SelectionChanged
public: event SelectionChangedEventHandler^ SelectionChanged
The event handler receives an argument of type SelectionChangedEventArgs containing data related to this event. The following SelectionChangedEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| AddedItems | Gets a list that contains the items that were selected. |
| Handled | (Inherited from System.Windows.RoutedEventArgs) |
| OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
| RemovedItems | Gets a list that contains the items that were unselected. |
| RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
| Source | (Inherited from System.Windows.RoutedEventArgs) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2