Add Window close/minimize button

5 posts, 0 answers
  1. Deng
    Deng avatar
    19 posts
    Member since:
    Apr 2012

    Posted 20 May 2012 Link to this post

    Hi,

    I add a RadRibbonView to my window and hope add same buttons(Maximum, Minimize, close ) to it as normal window. But I didn't know how to add those buttons to RadRibbonView or if It has a way to show those buttons?  Please see attachment.  How I can do this? thanks.
     
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 23 May 2012 Link to this post

    Hello Deng,

    You can wrap the RadRibbonView control in a RadRibbonWindow. The RibbonWindow is used to replace the Window control that represents the root UI of a WPF application. It's purpose is to allow you to have a smoother UI when hosting the RadRibbonView at the root level of the application.

    This article can give you more information on how to integrate the RibbonView and RibbonWindow controls.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Deng
    Deng avatar
    19 posts
    Member since:
    Apr 2012

    Posted 23 May 2012 Link to this post

    Thanks, Buddy. It's nice to me.
  5. Markus
    Markus avatar
    13 posts
    Member since:
    Sep 2013

    Posted 21 Feb 2014 Link to this post

    Hi,

    I'm using the NoXaml Binaries, added a reference to Telerik.Windows.Themes.Office2013 and have to Xaml Files.

    - RadRibbonWindow
    - RadRibbonView

    I tried

    RadRibbonWindow.IsWindowsThemeEnabled = false;
    StyleManager.ApplicationTheme = new Office2013ThemeExternal();

    to make the Window look nicer, but it actually just becomes empty.

    Markus


  6. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 26 Feb 2014 Link to this post

    Hello Markus,

    Office2013 theme cannot be set through the StyleManager. Instead you need to use implicit styles to take advantage of this theme as described in the Office2013 tutorial. You can take a look at this blog post outlining the advantages of the implicit styling mechanism. I also attached a sample solution demonstrating this approach so that you can give it a try on your side.

    You can also take a look at the RibbonWindow tutorial and specifically its Themes section for more information on how to apply a built-in theme on the RibbonWindow.

    Regards,
    Tina Stancheva
    Telerik
Back to Top
UI for WPF is Visual Studio 2017 Ready