Intersoft ClientUI Documentation
Sitemap Property



Gets or sets the value of the sitemap used in the UXBreadCrumb control.
Syntax
Public Property Sitemap As IEnumerable
Dim instance As UXBreadCrumb
Dim value As IEnumerable
 
instance.Sitemap = value
 
value = instance.Sitemap
public IEnumerable Sitemap {get; set;}
public:
property IEnumerable^ Sitemap {
   IEnumerable^ get();
   void set (    IEnumerable^ value);
}
Remarks

The Sitemap enables UXBreadCrumb to properly generate UXBreadCrumbItem according to the parsed URI. The following is an example of an XML sitemap.

Sitemap.xml
Copy Code
<Sitemap>
  <SitemapData>
    <DisplayName>Home</DisplayName>
    <Path>/HelpViewer/Home</Path>
    <Icon>/ClientUI.2012R2.Preview;Component/Assets/Icons/home.png</Icon>
    <Children>
      <SitemapData>
        <DisplayName>ClientUI</DisplayName>
        <Path>/HelpViewer/ClientUI</Path>
        <Icon>/ClientUI.2012R2.Preview;Component/Assets/Icons/clientui.png</Icon>
        <Children>
          <SitemapData>
            <DisplayName>Scheduling Controls</DisplayName>
            <Path>/HelpViewer/ClientUI/Scheduling Controls</Path>
            <Icon>/ClientUI.2012R2.Preview;Component/Assets/Icons/SchedulingControls.png</Icon>
            <Children>
              <SitemapData>
                <DisplayName>Schedule View</DisplayName>
                <Path>/HelpViewer/ClientUI/Scheduling Controls/Schedule View</Path>
                <Icon>/ClientUI.2012R2.Preview;Component/Assets/Icons/ScheduleView.png</Icon>
              </SitemapData>
            </Children>
          </SitemapData>
          <SitemapData>
            <DisplayName>Ribbon Controls</DisplayName>
            <Path>/HelpViewer/ClientUI/Ribbon Controls</Path>
            <Icon>/ClientUI.2012R2.Preview;Component/Assets/Icons/RibbonControls.png</Icon>
            <Children>
              <SitemapData>
                <DisplayName>Ribbon</DisplayName>
                <Path>/HelpViewer/ClientUI/Ribbon Controls/Ribbon</Path>
                <Icon>/ClientUI.2012R2.Preview;Component/Assets/Icons/Ribbon.png</Icon>
              </SitemapData>
            </Children>
          </SitemapData>
        </Children>
      </SitemapData>
    </Children>
  </SitemapData>
</Sitemap>
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

UXBreadCrumb Class
UXBreadCrumb Members

Send Feedback