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

Inheritance Hierarchy

See Also