ComponentOne Basic Library for WPF and Silverlight
C1TreeViewItem Class
Members 


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

See Also

Reference

C1TreeViewItem Members
C1.WPF Namespace