This is a migrated thread and some comments may be shown as answers.

Quick Access Menu

4 Answers 74 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 02 Apr 2014, 07:29 PM
Hello,

I am trying to change the style of the Quick Access Menu.

How do I get the style for that item to change, it does not appear in Blend.  I am using Blend 2013 and version 2014.1.224.1050 of the RadRibbonView control.

Thank you,
Craig

4 Answers, 1 is accepted

Sort by
0
Joe
Top achievements
Rank 1
answered on 04 Apr 2014, 06:50 PM
I found that I had to edit the styles for the following controls.

<Style TargetType="telerik:RadGroupHeader" BasedOn="{StaticResource RadGroupHeaderStyleNew}" />
<Style TargetType="telerik:RadRibbonDropDownButton" BasedOn="{StaticResource RadRibbonDropDownButtonStyleNew}" />
<Style TargetType="telerik:RadMenu" BasedOn="{StaticResource RadMenuStyleNew}" />
<Style TargetType="telerik:RadMenuItem" BasedOn="{StaticResource RadMenuItemStyleNew}" />
<Style TargetType="telerik:RadMenuGroupItem" BasedOn="{StaticResource RadMenuGroupItemStyleNew}" />

Thank you,
 Craig
0
Evgenia
Telerik team
answered on 07 Apr 2014, 04:17 PM
Hi Craig,

I tried to extract the default style and template for QuickAccess and managed to do this successfully with Blend 2013.
You may find a screencast (http://screencast.com/t/NWhQ6nRPw1) demonstrating this in action and my sample project attached.
I believe the issue on your side is caused by the fact that you are referencing NoXAML binaries. Please mind that these binaries as their name imply does not contain any xaml even the default Office_Black theme is not included. More details on why we ship such dll-s can be found in this help topic.
So to visualize our controls in designer and to be able to extract any styles from them, either use XAML binaries or Merge the needed resource dictionaries in App.xaml as described in the documentation link I provided.

Regards,
Evgenia
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Joe
Top achievements
Rank 1
answered on 16 Apr 2014, 01:02 PM
Thank you,
I am going to have a look at that.  I have merged the needed resource dictionaries into my application.

Just for clarification, if I am using the NoXAML binaries, when generatingthemes from Blend it will still generate based on the Office_Black theme?

Does it matter which themes is being used when generating styles from blend?  I.E.  Can I merge the Windows8 XAML binaries and extract the styles successfully, or should I merge the Office_Black binaries when generating styles? 

Is there a way to generate the styles based on the Windows8 theme?
0
Kiril Vandov
Telerik team
answered on 21 Apr 2014, 08:47 AM
Hello Craig,

When you are using NoXaml(SL) binaries and you try to extract the style of telerik controls you will get an empty controls template. Merging a different theme will not extract the style for the given theme.
If you want to get and edit a style for a given theme you could use the xaml files in the "Themes.Implicit\WPF40\Windows8\Themes" for each assembly and get the style for the control you want to edit. In your case the "Telerik.Windows.Controls.RibbonView.xaml" file contains all the RadRibbonView styles and you can edit/extract the style of the ribbon control you want to edit.

I hope this information helps.

Kind regards,
Kiril Vandov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
RibbonView and RibbonWindow
Asked by
Joe
Top achievements
Rank 1
Answers by
Joe
Top achievements
Rank 1
Evgenia
Telerik team
Kiril Vandov
Telerik team
Share this question
or