Represents a control that displays hierarchical data in a tree structure that has items that can expand and collapse.
Object Model
Syntax
'Declaration
<LicenseProviderAttribute()>
<TemplatePartAttribute(Name="Scroll", Type=System.Windows.Controls.ScrollViewer)>
<TemplatePartAttribute(Name="Root", Type=System.Windows.Controls.Grid)>
<TemplateVisualStateAttribute(Name="Focused", GroupName="FocusStates")>
<TemplateVisualStateAttribute(Name="Unfocused", GroupName="FocusStates")>
<TemplateVisualStateAttribute(Name="Valid", GroupName="ValidationStatesStates")>
<TemplateVisualStateAttribute(Name="InvalidUnfocused", GroupName="ValidationStatesStates")>
<TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStatesStates")>
<StyleTypedPropertyAttribute(Property="ScrollBarStyle", StyleTargetType=System.Windows.Controls.Primitives.ScrollBar)>
<StyleTypedPropertyAttribute(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)>
Public Class C1TreeView
Inherits C1HierarchicalPresenter
'Usage
Dim instance As C1TreeView
[LicenseProvider()]
[TemplatePart(Name="Scroll", Type=System.Windows.Controls.ScrollViewer)]
[TemplatePart(Name="Root", Type=System.Windows.Controls.Grid)]
[TemplateVisualState(Name="Focused", GroupName="FocusStates")]
[TemplateVisualState(Name="Unfocused", GroupName="FocusStates")]
[TemplateVisualState(Name="Valid", GroupName="ValidationStatesStates")]
[TemplateVisualState(Name="InvalidUnfocused", GroupName="ValidationStatesStates")]
[TemplateVisualState(Name="InvalidFocused", GroupName="ValidationStatesStates")]
[StyleTypedProperty(Property="ScrollBarStyle", StyleTargetType=System.Windows.Controls.Primitives.ScrollBar)]
[StyleTypedProperty(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)]
public class C1TreeView : C1HierarchicalPresenter
[LicenseProvider()]
[TemplatePart(Name="Scroll", Type=System.Windows.Controls.ScrollViewer)]
[TemplatePart(Name="Root", Type=System.Windows.Controls.Grid)]
[TemplateVisualState(Name="Focused", GroupName="FocusStates")]
[TemplateVisualState(Name="Unfocused", GroupName="FocusStates")]
[TemplateVisualState(Name="Valid", GroupName="ValidationStatesStates")]
[TemplateVisualState(Name="InvalidUnfocused", GroupName="ValidationStatesStates")]
[TemplateVisualState(Name="InvalidFocused", GroupName="ValidationStatesStates")]
[StyleTypedProperty(Property="ScrollBarStyle", StyleTargetType=System.Windows.Controls.Primitives.ScrollBar)]
[StyleTypedProperty(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)]
public ref class C1TreeView : public C1HierarchicalPresenter
Inheritance Hierarchy
See Also