Represents a control that displays hierarchical data in a tree structure that has items that can expand and collapse.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
[TemplateVisualStateAttribute(Name = "Unfocused", GroupName = "FocusStates")]
[TemplatePartAttribute(Name = "Scroll", Type = typeof(ScrollViewer))]
[TemplateVisualStateAttribute(Name = "Valid", GroupName = "ValidationStatesStates")]
[TemplateVisualStateAttribute(Name = "InvalidUnfocused", GroupName = "ValidationStatesStates")]
[TemplateVisualStateAttribute(Name = "InvalidFocused", GroupName = "ValidationStatesStates")]
[StyleTypedPropertyAttribute(Property = "ScrollBarStyle", StyleTargetType = typeof(ScrollBar))]
[TemplateVisualStateAttribute(Name = "Focused", GroupName = "FocusStates")]
[StyleTypedPropertyAttribute(Property = "ValidationDecoratorStyle", StyleTargetType = typeof(C1ValidationDecorator))]
public class C1TreeView : C1HierarchicalPresenter
Visual Basic
<TemplateVisualStateAttribute(Name := "Unfocused", GroupName := "FocusStates")> _
<TemplatePartAttribute(Name := "Scroll", Type := GetType(ScrollViewer))> _
<TemplateVisualStateAttribute(Name := "Valid", GroupName := "ValidationStatesStates")> _
<TemplateVisualStateAttribute(Name := "InvalidUnfocused", GroupName := "ValidationStatesStates")> _
<TemplateVisualStateAttribute(Name := "InvalidFocused", GroupName := "ValidationStatesStates")> _
<StyleTypedPropertyAttribute(Property := "ScrollBarStyle", StyleTargetType := GetType(ScrollBar))> _
<TemplateVisualStateAttribute(Name := "Focused", GroupName := "FocusStates")> _
<StyleTypedPropertyAttribute(Property := "ValidationDecoratorStyle", StyleTargetType := GetType(C1ValidationDecorator))> _
Public Class C1TreeView _
	Inherits 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..::..C1TreeView

See Also