To reproduce: - add RadRibbonBar containing a Contextual tab group (composed of four tabs); - add several RadRadioButton-s indicating which tab to be visible/collapsed: private void radRadioButton1_ToggleStateChanged(object sender, Telerik.WinControls.UI.StateChangedEventArgs args) { if (args.ToggleState == Telerik.WinControls.Enumerations.ToggleState.On) { this.ribbonTab1.Visibility = Telerik.WinControls.ElementVisibility.Visible; } else { this.ribbonTab1.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; } } As a result, when some tab is collapsed, contextual tab group width is not changed. ====================== Workaround: set collapsed tab width to 0 and update ribbon captions's layout: ribbonTab1.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; ribbonTab1.Size = new Size(0, this.ribbonTab1.Size.Height); radRibbonBar1.RibbonBarElement.InvalidateMeasure(true); radRibbonBar1.RibbonBarElement.UpdateLayout(); radRibbonBar1.RibbonBarElement.RibbonCaption.CaptionLayout.InvalidateMeasure(true); radRibbonBar1.RibbonBarElement.RibbonCaption.CaptionLayout.UpdateLayout();
The NumPad keys should work in a KeyTip scenario. However, currently they do not affect the behavior of RadRibbonBar.
To reproduce: Add a RadRibbonBar, a tab and a group. In the group add a RadButtonElement. Add two buttons on the form. One for enabling and one for disabling the RadButtonElement. Start the application , collapse the RadRibbon and disable the button inside. Now expand it and you will see the visual bug. Workaround: Subscribe to the ExpandedChanged event of the RadRibbonBar and if the RadRibbonBar is expanded and the button is disabled re-enable and re-disable the button. This will correct its visual appearance.
Please refer to the attached gif file. Workaround: adjust manually the RadRibbonBarGroup.Margin when the expanded state is changed: public Form1() { InitializeComponent(); this.radRibbonBar1.ExpandedStateChanged += radRibbonBar1_ExpandedStateChanged; radRibbonBar1.Expanded = false; } private void radRibbonBar1_ExpandedStateChanged(object sender, EventArgs e) { if (this.radRibbonBar1.Expanded) { AdjustMargin(0); } else { AdjustMargin(-10); } } private void AdjustMargin(int top) { foreach (RibbonTab tab in this.radRibbonBar1.CommandTabs) { foreach (RadRibbonBarGroup group in tab.Items) { group.Margin = new Padding(0, top, 0, 0); } } }
To reproduce: 1. set a local setting to the back color of a ribbon tab 2. run the project and change the selected tab => your setting is removed
To reproduce: 1.Create a RadRibbonForm and add a QuickAccessToolBar and a Contextual Tab Group 2.Use the following code: public Form1() { InitializeComponent(); this.AllowAero = false; radRibbonBar1.RibbonBarElement.IconPrimitive.Visibility = ElementVisibility.Visible; ThemeResolutionService.ApplicationThemeName = "TelerikMetro"; } 3.Run the application. Position the QuickAccessToolBar below the ribbon via the drop down menu. Note that the Contextual Tab Group is shifted to the right. 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); } } }
Attempt to assign two RadButtonElements in RadRibbonBar the same Name at design time results with an Exception dialog instead of the standard dialog.
Steps to reproduce: 1.Open the ThemeViewer and select a random theme (e.g. TelerikMetro) 2.Click the "Show Form" button, related to "ribbonbar & backstage view, 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.RibbonBarElement.CaptionFill.Margin = new Padding(-20, 0, 0, 0);
To reproduce: 1.Add a RadForm. 2.Create a UserControl with RadRibbonBar. 3.Apply Window8 theme to the RadRibbonBar and to the RadForm. 4.Use the following code: Me.RadRibbonBar1.CloseButton = False Me.RadRibbonBar1.MinimizeButton = False Me.RadRibbonBar1.MaximizeButton = False Me.RadRibbonBar1.RibbonBarElement.Text = String.Empty 5.When you add the UserControl to the RadForm and run the application, the QuickAccessToolbar items are cut off. Workaround: Me.RadRibbonBar1.RibbonBarElement.QuickAccessToolBar.OverflowButtonElement.Padding = New Padding(0, 0, 0, -15) Me.RadRibbonBar1.RibbonBarElement.QuickAccessToolBar.InnerItem.Padding = New Padding(0, 10, 0, -10)
1. You need to have the Controls Suite installed 2. Add a new RadRibbonBarForm to the project using the add new item dialog 3. You will see that the RadRibbonBar that is within the RadRibbonBarForm has some glitches
Using VS2012 RadRibbonForm's caption element is misplaced. As a result a horizontal black line appears below the title. Additionally, the system borders of the form are thinner that they are supposed to be.
With particular cultures the alt key is used for specific symbols and this is why the user should be able to use one of the alt key for symbols and the other one for the key tips.
I have a RadGalleryElement in my RadRibbonBar. It has both a minimum and maximum row count of four, and currently contains 6 items. I have "selection" enabled for the Gallery. The selection states persist for the first row of items, but do not for my second row.
To reproduce: 1. Add a RadRibbonBar 2. Apply Office2013Light theme 3. Use the following code snippet: public Form1() { InitializeComponent(); this.radRibbonBar1.CloseButton = false; this.radRibbonBar1.MinimizeButton = false; this.radRibbonBar1.MaximizeButton = false; this.radRibbonBar1.ApplicationMenuStyle = Telerik.WinControls.UI.ApplicationMenuStyle.ApplicationMenu; } Workaround: this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.Margin = new Padding(3, 8, 0, 0);
To reproduce: - Press and hold right mouse button. - Move mouse cursor outside bounds of the button. - Release mouse button - the button fill is not correct.
FIX. RadRibbonForm prevents the Windows taskbar to show when taskbar AutoHide is on
To reproduce: public RadRibbonForm1() { InitializeComponent(); radRibbonBar1.Expanded = false; } private void button1_Click(object sender, EventArgs e) { if (ribbonTab2.Visibility == Telerik.WinControls.ElementVisibility.Visible) { ribbonTab2.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; } else { ribbonTab2.Visibility = Telerik.WinControls.ElementVisibility.Visible; } } Workaround: private void button1_Click(object sender, EventArgs e) { this.radRibbonBar1.RootElement.SuspendLayout(); if (ribbonTab2.Visibility == Telerik.WinControls.ElementVisibility.Visible) { ribbonTab2.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; } else { ribbonTab2.Visibility = Telerik.WinControls.ElementVisibility.Visible; } this.radRibbonBar1.RootElement.ResumeLayout(false); }
To rperoduce: - Set the themes as follows: var theme = new Office2010BlackTheme(); new Telerik.WinControls.RadControlSpy.RadControlSpyForm().Show(); ThemeResolutionService.ApplicationThemeName = theme.ThemeName; this.radRibbonBar1.ElementTree.EnableApplicationThemeName = false; this.radRibbonBar1.ThemeName = "ControlDefault"; - Start and collapse the ribbon tabs. - Click on a tab to show its controls. Workaround: Use the ApplyThemeToControlTree method instead of settig the ApplicationThemeName property. ThemeResolutionService.ApplyThemeToControlTree(this, "Windows");
To reproduce: - Add a ribbon bar to a blank form and set the theme to Office2013Light - Disable the title bar buttons: this.radRibbonBar1.MaximizeButton = false; this.radRibbonBar1.MinimizeButton = false; this.radRibbonBar1.CloseButton = false; - The buttons are still visible when the backstage view button is clicked. Workaround: radRibbonBar1.BackstageControl.BackstageElement.TitleBarElement.CloseButton.Visibility = Telerik.WinControls.ElementVisibility.Hidden; radRibbonBar1.BackstageControl.BackstageElement.TitleBarElement.MaximizeButton.Visibility = Telerik.WinControls.ElementVisibility.Hidden; radRibbonBar1.BackstageControl.BackstageElement.TitleBarElement.MinimizeButton.Visibility = Telerik.WinControls.ElementVisibility.Hidden;