Implements a selectable item in a C1TreeView control.
Object Model
Syntax
'Declaration
<TemplatePartAttribute(Name="HeaderPanel", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="Header", Type=System.Windows.Controls.ContentControl)>
<TemplatePartAttribute(Name="ExpandButton", Type=System.Windows.Controls.Primitives.ToggleButton)>
<TemplatePartAttribute(Name="ChildrenPanel", Type=System.Windows.Controls.ItemsPresenter)>
<TemplatePartAttribute(Name="HeaderPanelContainer", Type=System.Windows.Controls.Grid)>
<TemplateVisualStateAttribute(Name="Expanded", GroupName="ExpandedStatesStates")>
<TemplateVisualStateAttribute(Name="Collapsed", GroupName="ExpandedStatesStates")>
<TemplateVisualStateAttribute(Name="Selected", GroupName="SelectionStates")>
<TemplateVisualStateAttribute(Name="Unselected", GroupName="SelectionStates")>
Public Class C1TreeViewItem
Inherits C1HierarchicalPresenter
'Usage
Dim instance As C1TreeViewItem
[TemplatePart(Name="HeaderPanel", Type=System.Windows.Controls.Grid)]
[TemplatePart(Name="Header", Type=System.Windows.Controls.ContentControl)]
[TemplatePart(Name="ExpandButton", Type=System.Windows.Controls.Primitives.ToggleButton)]
[TemplatePart(Name="ChildrenPanel", Type=System.Windows.Controls.ItemsPresenter)]
[TemplatePart(Name="HeaderPanelContainer", Type=System.Windows.Controls.Grid)]
[TemplateVisualState(Name="Expanded", GroupName="ExpandedStatesStates")]
[TemplateVisualState(Name="Collapsed", GroupName="ExpandedStatesStates")]
[TemplateVisualState(Name="Selected", GroupName="SelectionStates")]
[TemplateVisualState(Name="Unselected", GroupName="SelectionStates")]
public class C1TreeViewItem : C1HierarchicalPresenter
[TemplatePart(Name="HeaderPanel", Type=System.Windows.Controls.Grid)]
[TemplatePart(Name="Header", Type=System.Windows.Controls.ContentControl)]
[TemplatePart(Name="ExpandButton", Type=System.Windows.Controls.Primitives.ToggleButton)]
[TemplatePart(Name="ChildrenPanel", Type=System.Windows.Controls.ItemsPresenter)]
[TemplatePart(Name="HeaderPanelContainer", Type=System.Windows.Controls.Grid)]
[TemplateVisualState(Name="Expanded", GroupName="ExpandedStatesStates")]
[TemplateVisualState(Name="Collapsed", GroupName="ExpandedStatesStates")]
[TemplateVisualState(Name="Selected", GroupName="SelectionStates")]
[TemplateVisualState(Name="Unselected", GroupName="SelectionStates")]
public ref class C1TreeViewItem : public C1HierarchicalPresenter
Inheritance Hierarchy
See Also