Completed
Last Updated: 10 Nov 2015 12:35 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 21 Mar 2014 08:41
Category: RibbonBar
Type: Bug Report
2
FIX. RadRibbonBar - the QuickAccessToolBar has incorrect BackColor when it is positioned below the RadRibbonBar
Steps to reproduce:
1.Open the ThemeViewer and select a random theme (e.g. TelerikMetro)
2.Click the "Show Form" button, related to "ribbonbar & office 2007 app menu, status strip". As a result a RadRibbonForm is shown. Notice that it has a form icon and a QuickAccessToolBar.
3.Click on the arrow button in the QuickAccessToolBar and select "Show below the Ribbon".
Note that the BackColor behind the form's icon is not correct.

Workaround:
this.radRibbonBar1.QuickAccessToolBar.RadPropertyChanged += QuickAccessToolBar_RadPropertyChanged;

private void QuickAccessToolBar_RadPropertyChanged(object sender, Telerik.WinControls.RadPropertyChangedEventArgs e)
        {
            if (e.Property.Name == "QuickAccessToolbarBelowRibbonProperty")
            {
                if (this.radRibbonBar1.RibbonBarElement.QuickAccessToolbarBelowRibbon == true)
                {
                    this.radRibbonBar1.RibbonBarElement.RibbonCaption.Margin = new Padding(-15, 0, 0, 0); 
                }
                else
                {
                    this.radRibbonBar1.RibbonBarElement.RibbonCaption.Margin = new Padding(0); 
                }
            }
        }
0 comments