Apply Skin for Hierarchy Navigator Control

Add the following assemblies to apply corresponding theme for the Hierarchy Navigator control. SkinStorage class is used to apply different visual style for a control, which is available in Syncfusion.Shared.WPF project.

  1. Create a HierarchyNavigator instance either in XAML or code behind.

       <syncfusion:HierarchyNavigator x:Name="hierarchyNavigator"/>


      HierarchyNavigator hierarchyNavigator = new HierarchyNavigator();
  2. Apply Visual Style in code behind by calling the static method SetVisualStyle in SkinStorage class in Syncfusion.Shared.WPF. Here, Control name and Visual Style has to be passed in that static method arguments. The following image shows an example of Windows 7 (Default):

      SkinStorage.SetVisualStyle(this, "Default");