RadRibbonBarBackStageView positioning should be changed, so that the control appears 2 px lower.
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();
Setting the AutoSize property of RadRibbonBarGroup to false and resizing the group at design-time crashes VS.
RadRibbonBar KeyTips are painted and executed even if the associated item is disabled.
1. Create a new project and open design time. 2. Add new RadRibbonBar instance. 3. Add some tabs and in one of the tabs add some groups. 4. Select the last added group and try to drag it. Exception will occur.
RadRibbonBarGroup consists of two FillPrimitives (in addition to the main FillPrimitive). These fills should be exposed to the user, so that s\he can tell what their colors should be. Resolution: RadRibbonBarGroup consists of two FillPrimitives which are exposed: GroupFill and BodyFill. You can set their color using the following code snippet: radRibbonBarGroup1.BodyFill.BackColor = Color.MediumPurple; radRibbonBarGroup1.GroupFill.BackColor = Color.MediumSeaGreen;
Go to the Examples, RibbonBar >> FirstLook. Decrease the width of the main form. Now open the 'Size' popup of RadRibbonBar. You will notice that the Size dropdown button is not properly aligned i n the popup.
Go to Examples app, section RibbonBar >> FirstLook. Decrease the size of the main Examples form. Dropdownbuttons will appear instead of the actual content in RadRibbonBar. Open one of these buttons and click on the empty space area of the popup. The popup will close, but is should stay opened.
When you open the content popup of a collapsed group and click on a button that shows a dialog form, the popup stays opened.
To reproduce add ten items to the drop down and on the click event of some of them collapse seven of the items.
If you press the Alt key once, you get the KeyTips displayed. If you press it once more, the KeyTips should become hidden and the focus should be returned to the previously focused control.
In some cases when the ribbon is collapsed and you click on a tab item to display its content in a popup, there is an improper top offset of the content.
Moving a RibbonTab from one RadRibbonBar to another does not correctly place its content items in the destination Ribbon Bar's content panel.
Allow small elements, e.g. RadTrackBarElement or RadProgressBarElement, to be added to RadRibbonBar groups at design-time.
1. Place a RadRibbonBar on a form 2. Add couple of New Tabs 3. Select a tab in Design Time 4. You will see that the current tab is not switched Note that you can switch to a different tab if you click it 3 times or if you fast click twice on a tab and then select another tab.
To reproduce: - Add a RadToggleButtonElement to the quick access toolbar. Workaround: RadToggleButton button = new RadToggleButton(); button.Text = "Test"; button.Height = 17; RadHostItem host = new RadHostItem(button); host.MinSize = new Size(50, 0); host.MaxSize = new Size(0, 17); host.StretchVertically = false; radRibbonBar1.QuickAccessToolBarItems.Add(host);
To reproduce: Open a form with a ribbon, focus the tabs and press 1 with the screen keyboard (German language). Workaround: class MyRibbon : RadRibbonBar { protected override ComponentInputBehavior CreateBehavior() { return new MyComponentBehavior(this); } public override string ThemeClassName { get { return typeof(RadRibbonBar).FullName; } } } class MyComponentBehavior : RibbonBarInputBehavior { public MyComponentBehavior(RadRibbonBar owner) : base(owner) { } protected override string GetKeyStringRepresentation(Keys input) { uint nonVirtualKey = NativeMethods.MapVirtualKey((uint)input, 2); if (nonVirtualKey > char.MaxValue) { return null; } return base.GetKeyStringRepresentation(input); } }
In RadDropDownListElement add two DescriptionTextListDataItem:
radDropDownListElementFoo.Items.Add(new DescriptionTextListDataItem("Foo 1", "Description 1"));
radDropDownListElementFoo.Items.Add(new DescriptionTextListDataItem("Foo 2", "Description 2"));
But the description is not displayed and the drop down height is too large (foo.png)
What am I doing wrong?
If change ItemHeight = 36, then description is displayed, but the drop down height is too large (foo36.png)
In RadPanelBar elements (button, progress bar) TextAlignment property should be synchronized with TextPrimitive.TextAlignmet property.
To reproduce: - Change the ApplicationMenuStyle to BackstageView. - Add some tabs with different content. - Start the application and change the tabs several times, you will notice that the content is not changed.