Quick Access Menu

5 posts, 0 answers
  1. Joe
    Joe avatar
    31 posts
    Member since:
    Apr 2012

    Posted 02 Apr 2014 Link to this post

    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
  2. Joe
    Joe avatar
    31 posts
    Member since:
    Apr 2012

    Posted 04 Apr 2014 in reply to Joe Link to this post

    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
  3. DevCraft banner
  4. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 07 Apr 2014 Link to this post

    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.

     
  5. Joe
    Joe avatar
    31 posts
    Member since:
    Apr 2012

    Posted 16 Apr 2014 in reply to Evgenia Link to this post

    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?
  6. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 21 Apr 2014 Link to this post

    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.

     
Back to Top
DevCraft banner