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