Removing Windows Form Controls?

5 posts, 0 answers
  1. Kevin
    Kevin avatar
    11 posts
    Member since:
    May 2012

    Posted 22 Jun 2012 Link to this post

    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?
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 27 Jun 2012 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Kevin
    Kevin avatar
    11 posts
    Member since:
    May 2012

    Posted 27 Jun 2012 Link to this post

    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.
  5. Kevin
    Kevin avatar
    11 posts
    Member since:
    May 2012

    Posted 27 Jun 2012 Link to this post

    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?
  6. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 02 Jul 2012 Link to this post

    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 >>

Back to Top
UI for WPF is Visual Studio 2017 Ready