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






Gets or sets a value that indicates the data member path to bind to the NavigateUri property of the UXTreeViewItem.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property NavigateUriMemberPath As String
Visual Basic (Usage)Copy Code
Dim instance As UXTreeViewItem
Dim value As String
 
instance.NavigateUriMemberPath = value
 
value = instance.NavigateUriMemberPath
C# 
[CategoryAttribute("Common Properties")]
public string NavigateUriMemberPath {get; set;}
Delphi 
public read-write property NavigateUriMemberPath: String; 
JScript 
CategoryAttribute("Common Properties")
public function get,set NavigateUriMemberPath : String
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property string* get_NavigateUriMemberPath();
public: __property void set_NavigateUriMemberPath( 
   string* value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property String^ NavigateUriMemberPath {
   String^ get();
   void set (    String^ value);
}

Example

The following example shows how to perform binding to UXTreeView using the member path properties.

XAML Copy Code
<Grid>
    <Intersoft:UXTreeView ItemsSource="{Binding Files}" DisplayMemberPath="Name" 
                CollectionMemberPath="Files" ImageMemberPath="Icon" AutoSelectMode="Expand"
                NavigateUriMemberPath="NavigateUri">
        <Intersoft:UXTreeView.ItemContainerStyle>
            <Style TargetType="Intersoft:UXTreeViewItem">
                <Setter Property="DisplayMemberPath" Value="Name" />
                <Setter Property="ImageMemberPath" Value="Icon" />
                <Setter Property="CollectionMemberPath" Value="Files" />
                <Setter Property="DisplayMode" Value="ContentAndImage" />
                <Setter Property="NavigateUriMemberPath" Value="NavigateUri" />
            </Style>
        </Intersoft:UXTreeView.ItemContainerStyle>
    </Intersoft:UXTreeView>
</Grid>

Remarks

You can bind a collection of data to UXTreeView by using HierarchicalDataTemplate to visualize the data in hierarchical manner. You use the ItemsSource and ItemTemplate property to specify the source and template of each level of data contained in the UXTreeView. If you do not want to differentiate the template of each level, you can create a generic style for UXTreeViewItem and assign it to the ItemContainerStyle property of the UXTreeView control. To learn more about data binding, see Data Binding Overview.

To bind the data, you can either use ItemTemplate such as HierarchicalDataTemplate, or the member path properties such as listed below.

  • DisplayMemberPath
    Used to bind the Content property.
  • ImageMemberPath
    Used to bind the Icon property.
  • ExpandedImageMemberPath
    Used to bind the ExpandedIcon property.
  • NavigateUriMemberPath
    Used to bind the NavigateUri property.
  • CommandMemberPath
    Used to bind the Command property.
  • CollectionMemberPath
    Used to bind the Items property.

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.