Intersoft ClientUI Documentation
UXTreeView Class
Members 



Represents a versatile, feature-packed treeview control for displaying and navigating hierarchical data.
Object Model
UXTreeView ClassISFramework ClassStyleSelector ClassDataTemplateSelector Class
Syntax
<TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStates")>
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXTreeViewItem)>
<DescriptionAttribute("Represents a versatile, feature-packed treeview control for displaying and navigating hierarchical data.")>
<TemplatePartAttribute(Name="ScrollHostElement", Type=Intersoft.Client.UI.Controls.UXScrollViewer)>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")>
<TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")>
Public Class UXTreeView 
   Inherits Intersoft.Client.UI.Controls.Interactivity.ISDragableHierarchicalMultipleSelectionControl
   Implements Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IHierarchicalMultipleSelectionIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.IMultipleSelectionIntersoft.Client.Framework.ISelectionIntersoft.Client.UI.Controls.Interactivity.IDropable 
Dim instance As UXTreeView
[TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStates")]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXTreeViewItem)]
[DescriptionAttribute("Represents a versatile, feature-packed treeview control for displaying and navigating hierarchical data.")]
[TemplatePartAttribute(Name="ScrollHostElement", Type=Intersoft.Client.UI.Controls.UXScrollViewer)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")]
public class UXTreeView : Intersoft.Client.UI.Controls.Interactivity.ISDragableHierarchicalMultipleSelectionControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IHierarchicalMultipleSelectionIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.IMultipleSelectionIntersoft.Client.Framework.ISelectionIntersoft.Client.UI.Controls.Interactivity.IDropable  
[TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStates")]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXTreeViewItem)]
[DescriptionAttribute("Represents a versatile, feature-packed treeview control for displaying and navigating hierarchical data.")]
[TemplatePartAttribute(Name="ScrollHostElement", Type=Intersoft.Client.UI.Controls.UXScrollViewer)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")]
public ref class UXTreeView : public Intersoft.Client.UI.Controls.Interactivity.ISDragableHierarchicalMultipleSelectionControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IHierarchicalMultipleSelectionIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.IMultipleSelectionIntersoft.Client.Framework.ISelectionIntersoft.Client.UI.Controls.Interactivity.IDropable  
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.

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>
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXTreeView Members
Intersoft.Client.UI.Aqua.UXCollection Namespace

Send Feedback