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

RadRibbonView's height problem

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

7 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 30 Mar 2012, 07:25 AM
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 >>
0
Peizhe
Top achievements
Rank 1
answered on 30 Mar 2012, 07:48 AM
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.
0
Petar Mladenov
Telerik team
answered on 30 Mar 2012, 08:12 AM
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 >>
0
Peizhe
Top achievements
Rank 1
answered on 30 Mar 2012, 08:48 AM
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">

   ............................
0
Viktor Tsvetkov
Telerik team
answered on 03 Apr 2012, 08:40 AM
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 >>
0
Spurk
Top achievements
Rank 1
answered on 26 Mar 2013, 08:24 PM
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.
0
Kiril Vandov
Telerik team
answered on 28 Mar 2013, 01:25 PM
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.

Tags
RibbonView and RibbonWindow
Asked by
Peizhe
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Peizhe
Top achievements
Rank 1
Viktor Tsvetkov
Telerik team
Spurk
Top achievements
Rank 1
Kiril Vandov
Telerik team
Share this question
or