Implements a selectable item in a C1TreeView control.
Namespace:
C1.WPFAssembly: C1.WPF (in C1.WPF.dll)
Syntax
C# |
---|
[TemplateVisualStateAttribute(Name = "Collapsed", GroupName = "ExpandedStatesStates")] [TemplateVisualStateAttribute(Name = "Expanded", GroupName = "ExpandedStatesStates")] [TemplatePartAttribute(Name = "HeaderPanelContainer", Type = typeof(Grid))] [TemplatePartAttribute(Name = "Header", Type = typeof(ContentControl))] [TemplatePartAttribute(Name = "ExpandButton", Type = typeof(ToggleButton))] [TemplatePartAttribute(Name = "ChildrenPanel", Type = typeof(ItemsPresenter))] [TemplatePartAttribute(Name = "HeaderPanel", Type = typeof(Grid))] [TemplatePartAttribute(Name = "HeaderEditor", Type = typeof(ContentControl))] [TemplateVisualStateAttribute(Name = "Selected", GroupName = "SelectionStates")] [TemplateVisualStateAttribute(Name = "Unselected", GroupName = "SelectionStates")] public class C1TreeViewItem : C1HierarchicalPresenter |
Visual Basic |
---|
<TemplateVisualStateAttribute(Name := "Collapsed", GroupName := "ExpandedStatesStates")> _ <TemplateVisualStateAttribute(Name := "Expanded", GroupName := "ExpandedStatesStates")> _ <TemplatePartAttribute(Name := "HeaderPanelContainer", Type := GetType(Grid))> _ <TemplatePartAttribute(Name := "Header", Type := GetType(ContentControl))> _ <TemplatePartAttribute(Name := "ExpandButton", Type := GetType(ToggleButton))> _ <TemplatePartAttribute(Name := "ChildrenPanel", Type := GetType(ItemsPresenter))> _ <TemplatePartAttribute(Name := "HeaderPanel", Type := GetType(Grid))> _ <TemplatePartAttribute(Name := "HeaderEditor", Type := GetType(ContentControl))> _ <TemplateVisualStateAttribute(Name := "Selected", GroupName := "SelectionStates")> _ <TemplateVisualStateAttribute(Name := "Unselected", GroupName := "SelectionStates")> _ Public Class C1TreeViewItem _ Inherits C1HierarchicalPresenter |
Inheritance Hierarchy
System..::..Object
System.Windows.Threading..::..DispatcherObject
System.Windows..::..DependencyObject
System.Windows.Media..::..Visual
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
System.Windows.Controls..::..ItemsControl
C1HierarchicalPresenter
C1.WPF..::..C1TreeViewItem
System.Windows.Threading..::..DispatcherObject
System.Windows..::..DependencyObject
System.Windows.Media..::..Visual
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
System.Windows.Controls..::..ItemsControl
C1HierarchicalPresenter
C1.WPF..::..C1TreeViewItem