radRibbonBar1.RibbonBarElement.ApplicationButtonElement.DropDownMenu.FadeAnimationType to be available in properties window.
The RadRibbonBar's MDI menu disappears when the control is collapsed to popup and a MDI child is maximized.
RadRibbonBarBackStageView positioning should be changed, so that the control appears 2 px lower.
Hi,
please see the attached sample and screen shot.
If application with Ribbon Bar is moved to a high dpi display (or started on a 4K display), two issues happen:
Regards
Martin
RadRibbonBar KeyTips are painted and executed even if the associated item is disabled.
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.
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.
To reproduce:
1. Add a form with a RadRibbonBar and add some tabs
2. Create a second form that inherits the first one
3. Open the second form at design time and add a few items to the application menu.
Expected: either the applied changes in the derived form should be serialized properly or the ribbon in the derived form should be locked for such changed.
Actual: even though the menu items are added in the designer and you can see them, after restarting the designer, they are not shown in the application menu anymore. You can see that they are still available in the Designer.cs but they are not added to the application menu. The same behavior is observed if you add tabs and groups with different elements.
To reproduce: 1. Add a RadRibbonBar with a RadDropDownListElement and some other elements. 2. Use the following code: for (int i = 0; i < 5; i++) { RadListDataItem item = new RadListDataItem(); item.Text = "Item" + i; this.radDropDownListElement1.Items.Add(item); } this.radRibbonBar1.EnableKeyMap = true; this.radDropDownListElement1.KeyTip = "S"; this.radDropDownListElement1.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; 3. Press Alt, then 2. You will see the key tips for the drop down and its sibling items. 4. Press S. You are expected to be navigated to the RadDropDownListElement, but are not. Here it is illustrated the behavior: http://screencast.com/t/Qmvqufznjt
To reproduce: 1.Create a new Visual C# -> Telerik Windows Forms Application 2.Drag a RadRibbonBar control onto RadForm1 3.Create a single tab "First Tab" (otherwise you cannot collapse the ribbon) 4.Drag a button onto the form and add the following code to the click event handler: RibbonTab tab = new RibbonTab("Test"); this.radRibbonBar1.CommandTabs.Add(tab); tab.IsSelected = true; 5.You should end up with something like the attached png file. 6.Run the project and click the button. You should see the new tab is created and selected. 7.Close the project and run it again. This time, collapse the ribbon before clicking the button. No new tab is visible on the ribbon. Even if you click on the [First Tab] to show the full ribbon. 8.Click the expand ribbon button on the right and the new tab will then appear. Workaround: bool isExpanded = this.radRibbonBar1.Expanded; this.radRibbonBar1.Expanded = true; RibbonTab tab = new RibbonTab("Test " + this.radRibbonBar1.CommandTabs.Count); this.radRibbonBar1.CommandTabs.Add(tab); tab.IsSelected = true; this.radRibbonBar1.Expanded = isExpanded;
To reproduce: - Set the theme and show the help button. Workaround: Hide the fill and the border in Visual Style builder
Workaround: public Form1() { InitializeComponent(); this.radRibbonBar1.KeyTipShowing+=radRibbonBar1_KeyTipShowing; } private void radRibbonBar1_KeyTipShowing(object sender, CancelEventArgs e) { RadButtonElement b = sender as RadButtonElement; if (b!=null && b.Enabled==false) { e.Cancel = true; } }
To reproduce: public partial class Form2 : RadRibbonForm { public Form2() { InitializeComponent(); this.WindowState = FormWindowState.Maximized; this.radRibbonBar1.ApplicationMenuStyle = ApplicationMenuStyle.BackstageView; this.AllowAero = false; this.Icon = Properties.Resources.WinFormsIcon; } } Workaround1: set AllowAero property to true if it is possible. Workaround2: this.radRibbonBar1.RibbonBarElement.RibbonCaption.MouseMove += RibbonCaption_MouseMove; private void RibbonCaption_MouseMove(object sender, MouseEventArgs e) { if (e.Button == System.Windows.Forms.MouseButtons.Left && this.WindowState== FormWindowState.Maximized) { this.WindowState = FormWindowState.Normal; this.Location = new Point(this.Location.X,e.Location.Y); } }