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

Removing Windows Form Controls?

4 Answers 49 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
developer
Top achievements
Rank 2
developer asked on 22 Jun 2012, 01:52 PM
In the attached file it shows the original Windows control bar (that has the minimize, maximize, close) still remains on the RadRibbonView.  Also, there is a forward and back navigation bar, I'm not sure why; so, how can I remove these and place the buttons on the ApplicationName bar?  Source Code:
<telerik:RadRibbonView x:Class="Magnetek.Network.Client.MainWindow"
                         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                         xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                       xmlns:ribbon="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonView"
                       MinHeight="100" MinWidth="200"
                       x:Name="RadRibbonWindow">  
</telerik:RadRibbonView>



Also, with Windows Ribbon control I can start my window in a certain position using:

WindowStartupLocation="CenterScreen"

Is there a way to set the startup location and start the application maximized?

4 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 27 Jun 2012, 08:09 AM
Hi Kevin,

In order to create a smooth UI when hosting the RadRibbonView in the root level of the application, it's best to take advantage of the RadRibbonWindow. This tutorial demonstrates how to wrap the RibbonView inside the RibbonWindow control. Please have a look at it and give the described approach a try.

Also, as the RadRibbonWindow is essentially a window, you can set its WindowStartupLocation property as well as the WindowState to Maximized.

I hope this info will help you.

Greetings,
Tina Stancheva
the Telerik team

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

0
developer
Top achievements
Rank 2
answered on 27 Jun 2012, 02:18 PM
Doing that seemed to get everything in working order, thank you.

Another questions I have is that I'm trying to get a RadRibbonGroup inside of another RadRibbonGroup.  I know it can be done, but I'm trying to get the two buttons to go one over another.  When you place RadRibbonButtons inside the group, they go side by side and I can't find a way to stack them.  I can change the control to a StackPanel and it does exactly what I want with the buttons, but I can't put a header on the bottom.  I want it to look something like the attached file.

Also, it would be great to know how to add a seperator as shown in the picture between the small buttons and the large one.
0
developer
Top achievements
Rank 2
answered on 27 Jun 2012, 05:04 PM
If a RadRibbonGroup inside a RadRibbonGroup isn't possible, I will just add a TextBox to the bottom of the StackPanel

Also, I figured I could use the Seperator and use the Height field to create them.  Are these the best options?
0
Viktor Tsvetkov
Telerik team
answered on 02 Jul 2012, 12:25 PM
Hi Kevin,

This sounds as a possible approach of achieving what you want so you can continue with it.

Regards,
Viktor Tsvetkov
the Telerik team

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

Tags
RibbonView and RibbonWindow
Asked by
developer
Top achievements
Rank 2
Answers by
Tina Stancheva
Telerik team
developer
Top achievements
Rank 2
Viktor Tsvetkov
Telerik team
Share this question
or