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






Represents a treeview item which is used in a UXTreeView control.

Object Model

UXTreeViewItem Class

Syntax

Visual Basic (Declaration) 
<StyleTypedPropertyAttribute(Property="HeaderStyle", StyleTargetType=Intersoft.Client.UI.Controls.StylishLabel)>
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXTreeViewItem)>
<TemplatePartAttribute(Name="ToggleElement", Type=Intersoft.Client.UI.Aqua.UXToggleButton)>
<TemplateVisualStateAttribute(Name="Loading", GroupName="LoadingStates")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")>
<TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")>
<TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")>
<TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="KeyboardFocus", Type=System.Windows.Shapes.Rectangle)>
<TemplatePartAttribute(Name="ValidationErrorElement", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="SelectionElement", Type=System.Windows.Shapes.Rectangle)>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")>
<TemplateVisualStateAttribute(GroupName="SlidingStates", Name="SlidingCollapsed")>
<TemplateVisualStateAttribute(GroupName="SelectionStates", Name="SelectedInactive")>
<TemplateVisualStateAttribute(GroupName="SlidingStates", Name="SlidingExpanded")>
<TemplatePartAttribute(Name="DragOverElement", Type=System.Windows.Shapes.Rectangle)>
<TemplatePartAttribute(Name="ItemEditTextElement", Type=Intersoft.Client.UI.Controls.UXTextBox)>
<TemplatePartAttribute(Name="VerticalConnectingLineElement", Type=System.Windows.Shapes.Line)>
<TemplatePartAttribute(Name="ItemEditContentElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="ItemsChildElement", Type=System.Windows.Controls.ItemsPresenter)>
<TemplatePartAttribute(Name="CheckBoxElement", Type=Intersoft.Client.UI.Aqua.UXCheckBox)>
<TemplatePartAttribute(Name="MouseOverElement", Type=System.Windows.Shapes.Rectangle)>
<TemplatePartAttribute(Name="LoadedItem", Type=System.Windows.Shapes.Ellipse)>
<TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Controls.StylishLabel)>
<TemplatePartAttribute(Name="HorizontalConnectingLineElement", Type=System.Windows.Shapes.Line)>
<TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="EditTemplate")>
<DescriptionAttribute("Represents a treeview item which is used in a UXTreeView control.")>
<TemplateVisualStateAttribute(GroupName="HasItemsStates", Name="HasItems")>
<TemplateVisualStateAttribute(GroupName="ExpansionStates", Name="Collapsed")>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplateVisualStateAttribute(GroupName="HasItemsStates", Name="NoItems")>
<TemplateVisualStateAttribute(GroupName="ExpansionStates", Name="Expanded")>
<TemplateVisualStateAttribute(GroupName="LoadingStates", Name="Loaded")>
<TemplateVisualStateAttribute(GroupName="DragDropStates", Name="Dropped")>
<TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="Display")>
<TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="EditText")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")>
<TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")>
<TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidFocused")>
<TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")>
<TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")>
<TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")>
<TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DropAllowed")>
<TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DragLeave")>
<TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DropNotAllowed")>
Public Class UXTreeViewItem 
   Inherits Intersoft.Client.UI.Controls.Interactivity.ISDragableHeaderedHierarchicalMultipleSelectionControl
   Implements IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionItemITransformInfoIDropable 
Visual Basic (Usage)Copy Code
Dim instance As UXTreeViewItem
C# 
[StyleTypedPropertyAttribute(Property="HeaderStyle", StyleTargetType=Intersoft.Client.UI.Controls.StylishLabel)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXTreeViewItem)]
[TemplatePartAttribute(Name="ToggleElement", Type=Intersoft.Client.UI.Aqua.UXToggleButton)]
[TemplateVisualStateAttribute(Name="Loading", GroupName="LoadingStates")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="KeyboardFocus", Type=System.Windows.Shapes.Rectangle)]
[TemplatePartAttribute(Name="ValidationErrorElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="SelectionElement", Type=System.Windows.Shapes.Rectangle)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
[TemplateVisualStateAttribute(GroupName="SlidingStates", Name="SlidingCollapsed")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="SelectedInactive")]
[TemplateVisualStateAttribute(GroupName="SlidingStates", Name="SlidingExpanded")]
[TemplatePartAttribute(Name="DragOverElement", Type=System.Windows.Shapes.Rectangle)]
[TemplatePartAttribute(Name="ItemEditTextElement", Type=Intersoft.Client.UI.Controls.UXTextBox)]
[TemplatePartAttribute(Name="VerticalConnectingLineElement", Type=System.Windows.Shapes.Line)]
[TemplatePartAttribute(Name="ItemEditContentElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="ItemsChildElement", Type=System.Windows.Controls.ItemsPresenter)]
[TemplatePartAttribute(Name="CheckBoxElement", Type=Intersoft.Client.UI.Aqua.UXCheckBox)]
[TemplatePartAttribute(Name="MouseOverElement", Type=System.Windows.Shapes.Rectangle)]
[TemplatePartAttribute(Name="LoadedItem", Type=System.Windows.Shapes.Ellipse)]
[TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Controls.StylishLabel)]
[TemplatePartAttribute(Name="HorizontalConnectingLineElement", Type=System.Windows.Shapes.Line)]
[TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="EditTemplate")]
[DescriptionAttribute("Represents a treeview item which is used in a UXTreeView control.")]
[TemplateVisualStateAttribute(GroupName="HasItemsStates", Name="HasItems")]
[TemplateVisualStateAttribute(GroupName="ExpansionStates", Name="Collapsed")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(GroupName="HasItemsStates", Name="NoItems")]
[TemplateVisualStateAttribute(GroupName="ExpansionStates", Name="Expanded")]
[TemplateVisualStateAttribute(GroupName="LoadingStates", Name="Loaded")]
[TemplateVisualStateAttribute(GroupName="DragDropStates", Name="Dropped")]
[TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="Display")]
[TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="EditText")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidFocused")]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")]
[TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DropAllowed")]
[TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DragLeave")]
[TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DropNotAllowed")]
public class UXTreeViewItem : Intersoft.Client.UI.Controls.Interactivity.ISDragableHeaderedHierarchicalMultipleSelectionControl, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionItemITransformInfoIDropable  
JScript 
StyleTypedPropertyAttribute(Property="HeaderStyle", StyleTargetType=Intersoft.Client.UI.Controls.StylishLabel)
StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXTreeViewItem)
TemplatePartAttribute(Name="ToggleElement", Type=Intersoft.Client.UI.Aqua.UXToggleButton)
TemplateVisualStateAttribute(Name="Loading", GroupName="LoadingStates")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")
TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")
TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")
TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="KeyboardFocus", Type=System.Windows.Shapes.Rectangle)
TemplatePartAttribute(Name="ValidationErrorElement", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="SelectionElement", Type=System.Windows.Shapes.Rectangle)
TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")
TemplateVisualStateAttribute(GroupName="SlidingStates", Name="SlidingCollapsed")
TemplateVisualStateAttribute(GroupName="SelectionStates", Name="SelectedInactive")
TemplateVisualStateAttribute(GroupName="SlidingStates", Name="SlidingExpanded")
TemplatePartAttribute(Name="DragOverElement", Type=System.Windows.Shapes.Rectangle)
TemplatePartAttribute(Name="ItemEditTextElement", Type=Intersoft.Client.UI.Controls.UXTextBox)
TemplatePartAttribute(Name="VerticalConnectingLineElement", Type=System.Windows.Shapes.Line)
TemplatePartAttribute(Name="ItemEditContentElement", Type=System.Windows.Controls.Grid)
TemplatePartAttribute(Name="ItemsChildElement", Type=System.Windows.Controls.ItemsPresenter)
TemplatePartAttribute(Name="CheckBoxElement", Type=Intersoft.Client.UI.Aqua.UXCheckBox)
TemplatePartAttribute(Name="MouseOverElement", Type=System.Windows.Shapes.Rectangle)
TemplatePartAttribute(Name="LoadedItem", Type=System.Windows.Shapes.Ellipse)
TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Controls.StylishLabel)
TemplatePartAttribute(Name="HorizontalConnectingLineElement", Type=System.Windows.Shapes.Line)
TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="EditTemplate")
DescriptionAttribute("Represents a treeview item which is used in a UXTreeView control.")
TemplateVisualStateAttribute(GroupName="HasItemsStates", Name="HasItems")
TemplateVisualStateAttribute(GroupName="ExpansionStates", Name="Collapsed")
TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)
TemplateVisualStateAttribute(GroupName="HasItemsStates", Name="NoItems")
TemplateVisualStateAttribute(GroupName="ExpansionStates", Name="Expanded")
TemplateVisualStateAttribute(GroupName="LoadingStates", Name="Loaded")
TemplateVisualStateAttribute(GroupName="DragDropStates", Name="Dropped")
TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="Display")
TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="EditText")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")
TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")
TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidFocused")
TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")
TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")
TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")
TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DropAllowed")
TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DragLeave")
TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DropNotAllowed")
public class UXTreeViewItem extends Intersoft.Client.UI.Controls.Interactivity.ISDragableHeaderedHierarchicalMultipleSelectionControl implements IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionItemITransformInfoIDropable 
Managed Extensions for C++ 
[StyleTypedPropertyAttribute(Property="HeaderStyle", StyleTargetType=Intersoft.Client.UI.Controls.StylishLabel)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXTreeViewItem)]
[TemplatePartAttribute(Name="ToggleElement", Type=Intersoft.Client.UI.Aqua.UXToggleButton)]
[TemplateVisualStateAttribute(Name="Loading", GroupName="LoadingStates")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="KeyboardFocus", Type=System.Windows.Shapes.Rectangle)]
[TemplatePartAttribute(Name="ValidationErrorElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="SelectionElement", Type=System.Windows.Shapes.Rectangle)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
[TemplateVisualStateAttribute(GroupName="SlidingStates", Name="SlidingCollapsed")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="SelectedInactive")]
[TemplateVisualStateAttribute(GroupName="SlidingStates", Name="SlidingExpanded")]
[TemplatePartAttribute(Name="DragOverElement", Type=System.Windows.Shapes.Rectangle)]
[TemplatePartAttribute(Name="ItemEditTextElement", Type=Intersoft.Client.UI.Controls.UXTextBox)]
[TemplatePartAttribute(Name="VerticalConnectingLineElement", Type=System.Windows.Shapes.Line)]
[TemplatePartAttribute(Name="ItemEditContentElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="ItemsChildElement", Type=System.Windows.Controls.ItemsPresenter)]
[TemplatePartAttribute(Name="CheckBoxElement", Type=Intersoft.Client.UI.Aqua.UXCheckBox)]
[TemplatePartAttribute(Name="MouseOverElement", Type=System.Windows.Shapes.Rectangle)]
[TemplatePartAttribute(Name="LoadedItem", Type=System.Windows.Shapes.Ellipse)]
[TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Controls.StylishLabel)]
[TemplatePartAttribute(Name="HorizontalConnectingLineElement", Type=System.Windows.Shapes.Line)]
[TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="EditTemplate")]
[DescriptionAttribute("Represents a treeview item which is used in a UXTreeView control.")]
[TemplateVisualStateAttribute(GroupName="HasItemsStates", Name="HasItems")]
[TemplateVisualStateAttribute(GroupName="ExpansionStates", Name="Collapsed")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(GroupName="HasItemsStates", Name="NoItems")]
[TemplateVisualStateAttribute(GroupName="ExpansionStates", Name="Expanded")]
[TemplateVisualStateAttribute(GroupName="LoadingStates", Name="Loaded")]
[TemplateVisualStateAttribute(GroupName="DragDropStates", Name="Dropped")]
[TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="Display")]
[TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="EditText")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidFocused")]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")]
[TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DropAllowed")]
[TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DragLeave")]
[TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DropNotAllowed")]
public __gc class UXTreeViewItem : public Intersoft.Client.UI.Controls.Interactivity.ISDragableHeaderedHierarchicalMultipleSelectionControl, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionItemITransformInfoIDropable  
C++/CLI 
[StyleTypedPropertyAttribute(Property="HeaderStyle", StyleTargetType=Intersoft.Client.UI.Controls.StylishLabel)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXTreeViewItem)]
[TemplatePartAttribute(Name="ToggleElement", Type=Intersoft.Client.UI.Aqua.UXToggleButton)]
[TemplateVisualStateAttribute(Name="Loading", GroupName="LoadingStates")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="KeyboardFocus", Type=System.Windows.Shapes.Rectangle)]
[TemplatePartAttribute(Name="ValidationErrorElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="SelectionElement", Type=System.Windows.Shapes.Rectangle)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
[TemplateVisualStateAttribute(GroupName="SlidingStates", Name="SlidingCollapsed")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="SelectedInactive")]
[TemplateVisualStateAttribute(GroupName="SlidingStates", Name="SlidingExpanded")]
[TemplatePartAttribute(Name="DragOverElement", Type=System.Windows.Shapes.Rectangle)]
[TemplatePartAttribute(Name="ItemEditTextElement", Type=Intersoft.Client.UI.Controls.UXTextBox)]
[TemplatePartAttribute(Name="VerticalConnectingLineElement", Type=System.Windows.Shapes.Line)]
[TemplatePartAttribute(Name="ItemEditContentElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="ItemsChildElement", Type=System.Windows.Controls.ItemsPresenter)]
[TemplatePartAttribute(Name="CheckBoxElement", Type=Intersoft.Client.UI.Aqua.UXCheckBox)]
[TemplatePartAttribute(Name="MouseOverElement", Type=System.Windows.Shapes.Rectangle)]
[TemplatePartAttribute(Name="LoadedItem", Type=System.Windows.Shapes.Ellipse)]
[TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Controls.StylishLabel)]
[TemplatePartAttribute(Name="HorizontalConnectingLineElement", Type=System.Windows.Shapes.Line)]
[TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="EditTemplate")]
[DescriptionAttribute("Represents a treeview item which is used in a UXTreeView control.")]
[TemplateVisualStateAttribute(GroupName="HasItemsStates", Name="HasItems")]
[TemplateVisualStateAttribute(GroupName="ExpansionStates", Name="Collapsed")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(GroupName="HasItemsStates", Name="NoItems")]
[TemplateVisualStateAttribute(GroupName="ExpansionStates", Name="Expanded")]
[TemplateVisualStateAttribute(GroupName="LoadingStates", Name="Loaded")]
[TemplateVisualStateAttribute(GroupName="DragDropStates", Name="Dropped")]
[TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="Display")]
[TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="EditText")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidFocused")]
[TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")]
[TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DropAllowed")]
[TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DragLeave")]
[TemplateVisualStateAttribute(GroupName="DragDropStates", Name="DropNotAllowed")]
public ref class UXTreeViewItem : public Intersoft.Client.UI.Controls.Interactivity.ISDragableHeaderedHierarchicalMultipleSelectionControl, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionItemITransformInfoIDropable  

Example

The following example shows how to setup the UXTreeView to use ImageContent presentation and specify an image to the content.

XAML Copy Code
<Grid>
    <Intersoft:UXTreeView>
        <Intersoft:UXTreeViewItem Header="Games" IsExpanded="True" 
                  DisplayMode="ContentAndImage" 
                  Icon="/SLNavigationPane;component/images/Folder.png">
            <Intersoft:UXTreeViewItem Header="Chess Titans" 
                  DisplayMode="ContentAndImage" 
                  Icon="/SLNavigationPane;component/images/Folder.png" />
            <Intersoft:UXTreeViewItem Header="FreeCell" 
                  DisplayMode="ContentAndImage" 
                  Icon="/SLNavigationPane;component/images/Folder.png" />
            <Intersoft:UXTreeViewItem Header="Hearts" 
                  DisplayMode="ContentAndImage" 
                  Icon="/SLNavigationPane;component/images/Folder.png" />
        </Intersoft:UXTreeViewItem>
    </Intersoft:UXTreeView>
</Grid>

Remarks

The item container type of UXTreeView is UXTreeViewItem.

UXTreeView uses content control architecture which allows you to put any arbitrary object to its Content. UXTreeView extends the content model with ImageContent presentation to provide an efficient way to display an image in addition to the content itself. UXTreeViewItem also supports ImageContent model, so you can use the ImageMemberPath to bind an image field to the image element of UXTreeViewItem.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ItemsControl
                  Intersoft.Client.Framework.HeaderedItemsControl
                     Intersoft.Client.Framework.ISHeaderedItemsControl
                        Intersoft.Client.Framework.ISHeaderedHierarchicalSelectionControl
                           Intersoft.Client.Framework.ISHeaderedHierarchicalMultipleSelectionControl
                              Intersoft.Client.UI.Controls.Interactivity.ISDragableHeaderedHierarchicalMultipleSelectionControl
                                 Intersoft.Client.UI.Aqua.UXCollection.UXTreeViewItem

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.