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

Add Window close/minimize button

4 Answers 156 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Deng
Top achievements
Rank 1
Deng asked on 21 May 2012, 03:51 AM
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.
 

4 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 23 May 2012, 10:12 AM
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 >>

0
Deng
Top achievements
Rank 1
answered on 23 May 2012, 10:14 AM
Thanks, Buddy. It's nice to me.
0
Markus
Top achievements
Rank 1
answered on 21 Feb 2014, 11:37 AM
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


0
Tina Stancheva
Telerik team
answered on 26 Feb 2014, 11:34 AM
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
Tags
RibbonView and RibbonWindow
Asked by
Deng
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Deng
Top achievements
Rank 1
Markus
Top achievements
Rank 1
Share this question
or