Hi,
Please find attached image, its all described there.
Many Regards
Riziq
Just reporting problem at this time. Do not need an immediate resolution.
Problem Found: Tooltip text for command bar items (i.e. possibly in other tooltips outside of command bar) does not scale with the DPI setting along with the rest of the form. Tooltip text always appears only at 100% DPI font size and not higher.
Please note: I tested this by using two monitors set to 1) 1920x1080 at 100% scaling and 2) 3840x2160 at 200% scaling and dragging the application back and forth between the two monitors.
How to reproduce: add a pdf navigator to a form and dock it to Top, then add a pdf viewer and dock it to fill. Run the application and you will notice a gap between the navigator and the RadPdfViewer control. Workaround: instead of docking, use anchors or a TableLayoutPanel.
To reproduce: - Dock the command bar inside a tool window (to left). - Add four buttons to the strip. - Set the VisibleInStrip property of the one button to false. - When the application is started the last button is outside the strip. The issue is reproduced when commandbar is docked directly in the form not just the tool window. Workaround - Use the Visibility property instead.
To reproduce: 1. Run the application and click the button. A message box appears. Close the message box. 2. Minimize the form and restore it to normal state. 3. Click the button again. You will encounter an error because the CommandBarDropDownList.SelectedItem property is set to null. Workaround: private void radButton1_Click(object sender, EventArgs e) { this.commandBarDropDownList1.DropDownAnimationEnabled = false; this.commandBarDropDownList1.DropDownListElement.ShowPopup(); this.commandBarDropDownList1.DropDownListElement.ClosePopup(Telerik.WinControls.UI.RadPopupCloseReason.Mouse); Product product = this.commandBarDropDownList1.SelectedItem.DataBoundItem as Product; MessageBox.Show(product.Description); }
To reproduce: 1. Add a RadCommandBar with several items 2. Add CommandBarTextBox and change its size to have 200 px width . 3. Set the CommandBarTextBox.TextBoxElement.TextAlign property to Right in order to align the text to the right. The designer shows the correct text alignment. However, this setting is not serialized in the designer file and when you run the application the text is left aligned.
Workaround: this.commandBarSplitButton1.MinSize = new Size(this.commandBarSplitButton1.Size.Width + 10, 0);
To reproduce: 1. Add a RadCommandBar with a CommandBarButton. 2. Add a RadDateTimePicker, a RadMultiColumnComboBox, a ComboBox, a DateTimePicker. Subscribe to their Validating event. 3. Add a shortcut for the CommandbarButton: Me.CommandBarButton1.ShowKeyboardCues = True Me.CommandBarButton1.UseMnemonic = True Me.CommandBarButton1.Shortcuts.Add(New RadShortcut(Keys.Alt, Keys.F)) Note that when you focus one of the added controls in 2. and press Alt+F, the CommandBarButton.Click event is fired, but the Validating event for the previously focused control is not fired. This behavior is not observed for RadButton for example. Workaround: Public Class Form1 Protected Overrides Function ProcessCmdKey(ByRef msg As Message, keyData As Keys) As Boolean Select Case keyData Case (Keys.Alt Or Keys.F) CommandBarButton1.Focus() CommandBarButton1.PerformClick() Exit Select End Select End Class
The issue exists with RadMenuItem as well! Workaround: public class CustomCommandBarButton : CommandBarButton { protected override void OnClick(EventArgs e) { MouseEventArgs args = e as MouseEventArgs; if (args.Button == System.Windows.Forms.MouseButtons.Left) { base.OnClick(e); } } protected override Type ThemeEffectiveType { get { return typeof(CommandBarButton); } } }
Since the settings are serialized, the buttons does not have hover, pressed and other effects. Workaround: instead of making the buttons protected, apply this setting to RadCommandBar control and expose the buttons as properties.
Add the possibility to change the owner CommandBarRowElement of a CommandBarStripElement at design time.