4.960 TreeViewItem

x:Object > DependencyObject > Visual > UIElement > FrameworkElement > Control > ItemsControl > HeaderedItemsControl > TreeViewItem, IInputElement
TreeViewItem
(usage)
<TreeViewItem> x:Object* </TreeViewItem>
(description)
Implements a selectable item in a TreeView control.
[content property]
Items
[name property]
Name
[xml lang property]
Language
(properties)
IsExpanded
x:Boolean
(description)
Whether the nested items in a TreeViewItem are expanded or collapsed.
IsSelected
x:Boolean
(description)
Whether a TreeViewItem control is selected.
(events)
Collapsed
Occurs when the IsExpanded property changes from true to false.
Expanded
Occurs when the IsExpanded property changes from false to true.
Selected
Occurs when the IsSelected property of a TreeViewItem changes from false to true.
Unselected
Occurs when the IsSelected property of a TreeViewItem changes from true to false.