Intersoft ClientUI Documentation
UXTreeView Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXCollection Namespace : UXTreeView Class






Represents a versatile, feature-packed treeview control for displaying and navigating hierarchical data.

Object Model

UXTreeView Class

Syntax

Visual Basic (Declaration) 
<TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStates")>
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXTreeViewItem)>
<TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")>
<DescriptionAttribute("Represents a versatile, feature-packed treeview control for displaying and navigating hierarchical data.")>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")>
<TemplatePartAttribute(Name="ScrollHostElement", Type=Intersoft.Client.UI.Controls.UXScrollViewer)>
Public Class UXTreeView 
   Inherits Intersoft.Client.UI.Controls.Interactivity.ISDragableHierarchicalMultipleSelectionControl
   Implements IControlIFrameworkIHierarchicalMultipleSelection, ILicensing, IMultipleSelectionISelectionIDropable 
Visual Basic (Usage)Copy Code
Dim instance As UXTreeView
C# 
[TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStates")]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXTreeViewItem)]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")]
[DescriptionAttribute("Represents a versatile, feature-packed treeview control for displaying and navigating hierarchical data.")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")]
[TemplatePartAttribute(Name="ScrollHostElement", Type=Intersoft.Client.UI.Controls.UXScrollViewer)]
public class UXTreeView : Intersoft.Client.UI.Controls.Interactivity.ISDragableHierarchicalMultipleSelectionControl, IControlIFrameworkIHierarchicalMultipleSelection, ILicensing, IMultipleSelectionISelectionIDropable  
JScript 
TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStates")
StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXTreeViewItem)
TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")
DescriptionAttribute("Represents a versatile, feature-packed treeview control for displaying and navigating hierarchical data.")
TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)
TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")
TemplatePartAttribute(Name="ScrollHostElement", Type=Intersoft.Client.UI.Controls.UXScrollViewer)
public class UXTreeView extends Intersoft.Client.UI.Controls.Interactivity.ISDragableHierarchicalMultipleSelectionControl implements IControlIFrameworkIHierarchicalMultipleSelection, ILicensing, IMultipleSelectionISelectionIDropable 
Managed Extensions for C++ 
[TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStates")]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXTreeViewItem)]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")]
[DescriptionAttribute("Represents a versatile, feature-packed treeview control for displaying and navigating hierarchical data.")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")]
[TemplatePartAttribute(Name="ScrollHostElement", Type=Intersoft.Client.UI.Controls.UXScrollViewer)]
public __gc class UXTreeView : public Intersoft.Client.UI.Controls.Interactivity.ISDragableHierarchicalMultipleSelectionControl, IControlIFrameworkIHierarchicalMultipleSelection, ILicensing, IMultipleSelectionISelectionIDropable  
C++/CLI 
[TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStates")]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXTreeViewItem)]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")]
[DescriptionAttribute("Represents a versatile, feature-packed treeview control for displaying and navigating hierarchical data.")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")]
[TemplatePartAttribute(Name="ScrollHostElement", Type=Intersoft.Client.UI.Controls.UXScrollViewer)]
public ref class UXTreeView : public Intersoft.Client.UI.Controls.Interactivity.ISDragableHierarchicalMultipleSelectionControl, IControlIFrameworkIHierarchicalMultipleSelection, ILicensing, IMultipleSelectionISelectionIDropable  

Example

The following code shows how to create a simple UXTreeView in XAML.

XAML Copy Code
<Grid>
    <Intersoft:UXTreeView BorderThickness="0">
        <Intersoft:UXTreeViewItem Header="Project Deliverables">
            <Intersoft:UXTreeViewItem Header="Final" />
            <Intersoft:UXTreeViewItem Header="Draft" />
            <Intersoft:UXTreeViewItem Header="Work in Progress" />
        </Intersoft:UXTreeViewItem>
        <Intersoft:UXTreeViewItem Header="Project Management Deliverables">
            <Intersoft:UXTreeViewItem Header="Project Definition" />
            <Intersoft:UXTreeViewItem Header="Communications" />
            <Intersoft:UXTreeViewItem Header="Presentations" />
            <Intersoft:UXTreeViewItem Header="Financial Information" />
            <Intersoft:UXTreeViewItem Header="Logs" />
            <Intersoft:UXTreeViewItem Header="Miscellaneous" />
            <Intersoft:UXTreeViewItem Header="Workplans" />
            <Intersoft:UXTreeViewItem Header="Status " />
            <Intersoft:UXTreeViewItem Header="Meeting Minutes" />
            <Intersoft:UXTreeViewItem Header="Reports" />
        </Intersoft:UXTreeViewItem>
        <Intersoft:UXTreeViewItem Header="Reference">
            <Intersoft:UXTreeViewItem Header="Tutorials" />
            <Intersoft:UXTreeViewItem Header="Templates" />
            <Intersoft:UXTreeViewItem Header="Other Reference Material" />
        </Intersoft:UXTreeViewItem>
        <Intersoft:UXTreeViewItem Header="Workarea">
            <Intersoft:UXTreeViewItem Header="Team member 1" />
            <Intersoft:UXTreeViewItem Header="Team member 2" />
        </Intersoft:UXTreeViewItem>
    </Intersoft:UXTreeView>
</Grid>

Remarks

The UXTreeView is a control that displays data in a hierarchical manner. At the core of the UXTreeView control is UXTreeViewItem, a specialized object that implements both headered content and items control model which enables reliable and consistent hierarchical data presentation. In short, the UXTreeViewItem provides the hierarchy of the UXTreeView control.

The UXTreeView control enables users to expand or collapse a node in the hierarchy by using common input devices such as mouse or keyboard. You can get the selected item or selected items through the provided SelectedItem or SelectedItems property.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ItemsControl
                  Intersoft.Client.Framework.ISItemsControl
                     Intersoft.Client.Framework.ISHierarchicalSelectionControl
                        Intersoft.Client.Framework.ISHierarchicalMultipleSelectionControl
                           Intersoft.Client.UI.Controls.Interactivity.ISDragableHierarchicalMultipleSelectionControl
                              Intersoft.Client.UI.Aqua.UXCollection.UXTreeView

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.