Hi,
I am using a navigation:navigationBar and wanted to customise the styles.
As I didn't know what the default styles and template were, i opened up your demo project (NavigationBarIntro) into Expression Blend so that I could right click on the NavigationPane and edit a copy of the template. This will then give me all of the styles and triggers for this control.
Though, I have put this into my project, but it does not recognise some of the options.
Inside this <Style x:Key="NavigationPaneStyle1" TargetType="{x:Type navigation:NavigationPane}"> it doesnot recognise the following:
<Setter Property="HeaderInnerBorderHover" Value="{DynamicResource {ComponentResourceKey ResourceId=PaneHeaderInnerBorderHover, TypeInTargetAssembly={x:Type navigation:NavigationBar}}}"/>
<Setter Property="HeaderInnerBorderHoverSelected" Value="{DynamicResource {ComponentResourceKey ResourceId=PaneHeaderInnerBorderHoverSelected, TypeInTargetAssembly={x:Type navigation:NavigationBar}}}"/>
There are more options is doesn't recognise, but they are all the inner and outer borders and the highlighthover etc.
I get a build error saying the following:
Cannot find the Style Property 'HeaderInnerBorderHover' on the type 'ActiproSoftware.Windows.Controls.Navigation.NavigationPane'. Etc.
I am referencing the following in my style document:
xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon"
xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared"
xmlns:themes="http://schemas.actiprosoftware.com/winfx/xaml/themes"
xmlns:docking="http://schemas.actiprosoftware.com/winfx/xaml/docking"
xmlns:navigation="http://schemas.actiprosoftware.com/winfx/xaml/navigation"
Should I be referencing something else?
I am using a navigation:navigationBar and wanted to customise the styles.
As I didn't know what the default styles and template were, i opened up your demo project (NavigationBarIntro) into Expression Blend so that I could right click on the NavigationPane and edit a copy of the template. This will then give me all of the styles and triggers for this control.
Though, I have put this into my project, but it does not recognise some of the options.
Inside this <Style x:Key="NavigationPaneStyle1" TargetType="{x:Type navigation:NavigationPane}"> it doesnot recognise the following:
<Setter Property="HeaderInnerBorderHover" Value="{DynamicResource {ComponentResourceKey ResourceId=PaneHeaderInnerBorderHover, TypeInTargetAssembly={x:Type navigation:NavigationBar}}}"/>
<Setter Property="HeaderInnerBorderHoverSelected" Value="{DynamicResource {ComponentResourceKey ResourceId=PaneHeaderInnerBorderHoverSelected, TypeInTargetAssembly={x:Type navigation:NavigationBar}}}"/>
There are more options is doesn't recognise, but they are all the inner and outer borders and the highlighthover etc.
I get a build error saying the following:
Cannot find the Style Property 'HeaderInnerBorderHover' on the type 'ActiproSoftware.Windows.Controls.Navigation.NavigationPane'. Etc.
I am referencing the following in my style document:
xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon"
xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared"
xmlns:themes="http://schemas.actiprosoftware.com/winfx/xaml/themes"
xmlns:docking="http://schemas.actiprosoftware.com/winfx/xaml/docking"
xmlns:navigation="http://schemas.actiprosoftware.com/winfx/xaml/navigation"
Should I be referencing something else?