Wrong position of title and QuickAccessToolbar when using CollapseThresholdSize

2 posts, 0 answers
  1. Lasse
    Lasse avatar
    10 posts
    Member since:
    Jul 2013

    Posted 13 Mar 2014 Link to this post

    When using the RadRibbonWindow in combination with RadRibbonView, I have an odd problem with the position of the quick access toolbar, and the title/application name. For some reason they become positioned below the title bar. See attached screen shots.

    From my tests it appears, that the problem is only present when the property IsBackstageOpen is binded, and the property CollapseThresholdSize is
    set. Removing CollapseThresholdSize solves the problem?

    I can recreate the problem using this XAML:

    <telerik:RadRibbonWindow x:Class="TelerikRibbon.MainWindow"
            xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonView"
            xmlns:controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
           Title="Window title should not be displayed"
    >
        <Grid>
            <telerik:RadRibbonView Title="RibbonView Title" ApplicationName="My Application" IsBackstageOpen="{Binding ShowBackStage}" CollapseThresholdSize="100,100" VerticalAlignment="Top"  ApplicationButtonContent="Fil" >
     
     
                <telerik:RadRibbonView.QuickAccessToolBar>
                    <telerik:QuickAccessToolBar CustomizationMenuVisibility="Collapsed">
                        <telerik:RadRibbonButton Text="Open" SmallImage="/Images/Icons/open.png" Size="Small" />
                    </telerik:QuickAccessToolBar>
                </telerik:RadRibbonView.QuickAccessToolBar>
     
                <!-- Backstage section-->
                <telerik:RadRibbonView.Backstage>
                    <telerik:RadRibbonBackstage>
                        <!-- Save-->
                        <telerik:RadRibbonBackstageItem Header="Click here to save" Icon="/Images/Icons/save.png" CloseOnClick="True" IsSelectable="true" />
                    </telerik:RadRibbonBackstage>
                </telerik:RadRibbonView.Backstage>
     
                <telerik:RadRibbonTab Header="Home">
                    <telerik:RadRibbonGroup Header="Clipboard">
                        <telerik:RadRibbonSplitButton
                                                      Size="Large"
                                                      Text="Paste"
                                                      telerik:ScreenTip.Description="Paste the contents the Clipboard."
                                                      telerik:ScreenTip.Title="Paste(Ctrl+V)">
                            <telerik:RadRibbonSplitButton.DropDownContent>
                                <controls:RadContextMenu BorderThickness="0">
                                    <controls:RadMenuItem Header="Paste" />
                                    <controls:RadMenuItem Header="Paste Form" />
                                </controls:RadContextMenu>
                            </telerik:RadRibbonSplitButton.DropDownContent>
                        </telerik:RadRibbonSplitButton>
                    </telerik:RadRibbonGroup>
                </telerik:RadRibbonTab>
                <telerik:RadRibbonTab Header="View" />
            </telerik:RadRibbonView>
        </Grid>
    </telerik:RadRibbonWindow>


  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 17 Mar 2014 Link to this post

    Hello  Lasse,

    Thank you for reprorting this issue. We can confirm that this is a bug in the RibbonView. It seems to be related both to the initial state of the Backstage menu - being open and the modified CollapsedThreasholdSize value. I logged a bug report in our feedback portal so that you can track the status of the item. I also updated your Telerik points accordingly.

    Regards,
    Tina Stancheva
    Telerik
     

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top