RadRibbonView's height problem

8 posts, 0 answers
  1. Peizhe
    Peizhe avatar
    7 posts
    Member since:
    Dec 2011

    Posted 29 Mar 2012 Link to this post

    The RadRibbonView's height cannot be adjust, when set it's height explicitly, it could be displayed correctly,
    for example:

    <Grid>
         <RowDefinition Height="100>
         <RowDef....>

           <telerik:RadRibbonView Grid.Row="0" >

          </telerik:RadRibbonView>

  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 30 Mar 2012 Link to this post

    Hi Peizhe,

     By design, the RadRibbonView follows MS standards (described in design document) for creating an Office 2010 Ribbon-like controls. In these standards there are many constants like RibbonView.Height, Application Button Height, Width, etc.  So these sizes are static in XAML, they could be changed by editing the default template but this could lead to various and unpredictable issues. So you may consider changing the RibbonView Height as an unsupported scenario. Thank you for your understanding.

    Greetings,
    Petar Mladenov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Peizhe
    Peizhe avatar
    7 posts
    Member since:
    Dec 2011

    Posted 30 Mar 2012 Link to this post

    I'm not agreed with you. Since microsoft ribbon for wpf can change ribbon bar's height and work correctly.For small screen,the ribbon bar's default height(about 150) is too large.There is no reason to not able to change the height value.
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 30 Mar 2012 Link to this post

    Hello Peizhe,

     Could you please elaborate more on the control you mentioned ("microsoft ribbon for wpf 
    ") ? Is it possible for you to send us some snapshots, or captured videos. The MS Office Menus are with fixed size on different resolutions.

    All the best,
    Petar Mladenov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  6. Peizhe
    Peizhe avatar
    7 posts
    Member since:
    Dec 2011

    Posted 30 Mar 2012 Link to this post

    See the attach snapshot image.


    XAML code snippt:

    <MSRibbon:RibbonWindow xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                           xmlns:MSRibbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
                           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                           mc:Ignorable="d"
                           .....................................
                         >
     <Grid x:Name="MainGrid">
            <Grid.RowDefinitions>
                <RowDefinition Height="100" />
                <RowDefinition />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>

            <!--RIBBON MENU CONTROL-->
            <MSRibbon:Ribbon Grid.Row="0"
                             HorizontalAlignment="Stretch"
                             x:Name="RootRibbon"
                             Title="{Binding Title, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}"
                             d:LayoutOverrides="Margin">

       ............................
  7. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 03 Apr 2012 Link to this post

    Hi Peizhe,

    Actually there is such item logged in PITS so you can vote for it in order to increase its popularity.

    Greetings,
    Viktor Tsvetkov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  8. Spurk
    Spurk avatar
    40 posts
    Member since:
    Feb 2012

    Posted 26 Mar 2013 Link to this post

    Hi Viktor,

    I looked at the PITS link you posted and it stated that the feature request would be in q1 2013, but labelled for silverlight.  Is this going to be a feature (soonish) for WPF?  We're weighing this on whether or not we can use Telerik's controls to provide a ribbon in our application.
  9. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 28 Mar 2013 Link to this post

    Hello Sheldon,

    This feature is implemented for both WPF/SL and it is available with our Q1 2013 binaries. We are having problems with the PITS items Product field for the RadRibbonView control. The Product field is currently displaying only Silverlight.

    Please excuse us for the inconvenience caused.

    Kind regards,
    Kiril Vandov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
UI for WPF is Visual Studio 2017 Ready