BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Ribbon.SetActiveColorScheme(ribbon, Brushes.Red); from http://help.syncfusion.com/ug/wpf/default.htm#!documents/activecolorscheme.htm without any success.
I want to have multiple Office2013 custom styles (dark,blue etc). I want to be able to not only change the background of the title bar (achieved that) but also the style of each tab (tab and tabButton properties when selected, mouse hover, make the caption bold when the tab is checked etc). Trying to edit the Ribbon template throws me an exception, and also trying to edit a ribbonTab template gives me this error: "Create template failed".
Hi George,
Thank you for contacting Syncfusion support,
We have prepared a Ribbon sample by using style file. Using this file you can edit the style of Ribbon control and change the Color, BorderBrush for RibbonTab,TabButton.
Please download the sample from the following location.
Sample link: RibbonSample.zip
Please let us know if you need further assistance.
Regards,
Mariappan S.
<Border x:Name="ribbonTabBorder" Panel.ZIndex="10"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
DockPanel.Dock="Bottom">
<Border.Style>
<Style>
<!--<Setter Property="Border.Margin" Value="17,-24,0,1"/>-->
<Style.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:Ribbon}},Path=BackStageButton.Visibility}" Value="Visible">
<Setter Property="Border.Margin" Value="17,-24,0,1"/>
</DataTrigger>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:Ribbon}},Path=BackStageButton.Visibility}" Value="Collapsed">
<Setter Property="Border.Margin" Value="-46,-24,0,1"/>
</DataTrigger>
</Style.Triggers>
</Style>
</Border.Style>
<ItemsPresenter />
</Border>
We have modified the above code snippets in this sample. Please download the sample from the following link.
Sample link: RibbonSample.zip
Please let us know if you need further assistance.
Regards,
Mariappan S.