In This Topic
Implements a selectable item in a C1TreeView control.
Object Model
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
See Also