TreeView for WPF | ComponentOne
C1.WPF.TreeView Namespace / C1TreeViewItem Class
Members

In This Topic
    C1TreeViewItem Class
    In This Topic
    Implements a selectable item in a C1TreeView control.
    Object Model
    C1TreeViewItem Class
    Syntax
    'Declaration
     
    
    <C1ControlAttribute(True)>
    <C1TemplatePartAttribute(Name="HeaderPanel", Type=System.Windows.Controls.Grid)>
    <C1VisualStateAttribute(Name="Expanded", 
       GroupName="ExpandedStates", 
       Condition="IsExpanded")>
    <TemplatePartAttribute(Name="HeaderPanel", Type=System.Windows.Controls.Grid)>
    <TemplateVisualStateAttribute(Name="Expanded", GroupName="ExpandedStatesStates")>
    <DefaultEventAttribute("OnItemsChanged")>
    <DefaultPropertyAttribute("Items")>
    <LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)>
    <ContentPropertyAttribute("Items")>
    <StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=System.Windows.FrameworkElement)>
    <RuntimeNamePropertyAttribute("Name")>
    <UsableDuringInitializationAttribute(True)>
    <XmlLangPropertyAttribute("Language")>
    <UidPropertyAttribute("Uid")>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class C1TreeViewItem 
       Inherits C1.WPF.Core.C1HierarchicalPresenter
    [C1Control(true)]
    [C1TemplatePart(Name="HeaderPanel", Type=System.Windows.Controls.Grid)]
    [C1VisualState(Name="Expanded", 
       GroupName="ExpandedStates", 
       Condition="IsExpanded")]
    [TemplatePart(Name="HeaderPanel", Type=System.Windows.Controls.Grid)]
    [TemplateVisualState(Name="Expanded", GroupName="ExpandedStatesStates")]
    [DefaultEvent("OnItemsChanged")]
    [DefaultProperty("Items")]
    [Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
    [ContentProperty("Items")]
    [StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=System.Windows.FrameworkElement)]
    [RuntimeNameProperty("Name")]
    [UsableDuringInitialization(true)]
    [XmlLangProperty("Language")]
    [UidProperty("Uid")]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class C1TreeViewItem : C1.WPF.Core.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.Core.C1ItemsControl
                               C1.WPF.Core.C1HierarchicalPresenter
                                  C1.WPF.TreeView.C1TreeViewItem

    See Also