Approved
Last Updated: 31 Oct 2019 10:57 by ADMIN

To reproduce this:

  • Set the RadRibbonButton LargeImage/SmallImage to a property that is larger than 16 (small image) or 32 (large image).
  • Set IsAutoSize to False. This will stretch the image on all available space for the button.
  • Set IsAutoSize to True. This should uniform stretch the picture so that it fills the auto size of 16 or 32 pixels. However, the image doesn't stretch, instead its Stretch is set to None, which expand the image to its original size. This leads to the clipping.

To work this around, avoid setting the IsAutoSize property. Or use smaller pictures - 16 or 32 pixels.

Approved
Last Updated: 12 Sep 2018 11:13 by ADMIN
Approved
Last Updated: 24 May 2018 07:23 by ADMIN
Several galleries in collapsed state. Open rightmost so that its popup is outside wpf window.

Then resize the window so that gallery goes into large state. The height of the RibbonGallery is incorrect and smaller than expected.

Workaround is to set MinHeight to (for example 67) to all RibbonGalleries.
Approved
Last Updated: 26 Mar 2018 16:11 by ADMIN
Approved
Last Updated: 06 Dec 2017 12:59 by ADMIN
Approved
Last Updated: 14 Nov 2017 11:26 by ADMIN
The popup is no properly sized when you have two or more monitors with different resolutions. This is replicable also if the DPI is higher than 100%.

To work this around you can create a custom ribbonview, get the content presenter of the popup and manually set its Width. Here is an example in code:

public class CustomRibbonView : RadRibbonView
{
	private ContentPresenter selectedTabContentPopup;

	public override void OnApplyTemplate()
	{
		base.OnApplyTemplate();
		this.selectedTabContentPopup = this.GetTemplateChild("SelectedTabContentPopup") as ContentPresenter;
	}

	protected override void OnMinimizedPopupStateChanged(RadRoutedEventArgs e)
	{   
		base.OnMinimizedPopupStateChanged(e);
		if (this.IsMinimizedPopupOpen)
		{
			this.selectedTabContentPopup.Width = this.ActualWidth;
		}
	}
}
Approved
Last Updated: 14 Nov 2017 09:02 by ADMIN
Windows10 on two monitors, at least one of them is with higher DPI -125 , 150 %.

This leads to unexpected black gap (glitch) between the RibbonWindow TitleBar and Content.

Partial workaround is to set manually a margin on the WindowDecorator:

  private void RadRibbonWindow_Loaded(object sender, RoutedEventArgs e)
        {
                Grid windowDecorator = this.ChildrenOfType<Grid>().FirstOrDefault(x => x.Name == "MaximizedWindowDecorator");
                windowDecorator.Margin = new Thickness(0, -1, 0, 0);          
        }
Approved
Last Updated: 09 Aug 2017 09:06 by ADMIN
Currently, RadRibbonView's OnApplyTemplate method can be called after adding the new tabs so that the group and tabs are redrawn correctly.
Approved
Last Updated: 27 Jul 2017 17:53 by ADMIN
The default size is 9. If you change it the issue occurs. This brings a visual glitch in the window. The title text is resized but the titlebar is not.

Note: This is reproducible only if the DPI is larger than 100%.

To work this around manually set the size of the titlebar element.

private void MainWindow_Loaded(object sender, RoutedEventArgs e)
{
    Grid windowDecorator = this.ChildrenOfType<Grid>().FirstOrDefault(x => x.Name =="MaximizeWindowDecorator");
    RibbonTitleBarPanel ribbonTitlePanel = this.ChildrenOfType<RibbonTitleBarPanel>().FirstOrDefault(x => x.Name == "RibbonTitleBarPanel");
    windowDecorator.RowDefinitions[0].Height = newGridLength(ribbonTitlePanel.ActualHeight);
}
Approved
Last Updated: 20 Mar 2017 12:58 by ADMIN
When there are enough items in a RibbonBackstageItem for the ScrollBar to appear, it is clipped by the RadRibbonWindow's header.

Workaround:
1. Extract the templates for RadRibbonBackstage and ScrollViewer
2. Refer the new template for the ScrollViewer in the template for the RadRibbonBackstage.
3. Change the margin for the PART_VerticalScrollBar from 0, -1, -1, -1 to 0, 27, -1, -1.
4. Set the new ControlTemplate to the RadRibbonBackstage in the application.
Approved
Last Updated: 02 Mar 2017 10:56 by ADMIN
Reproduces when you add the ContextualGroups in code-behind. While resizing the RibbonWindow the Ribbon Title overlaps the ContextualGroup Header. 
https://admin.telerik.com/ClientsFiles/c8763f1e-5c7f-4614-a7eb-349326cd32b2_telerikBug.PNG
Approved
Last Updated: 27 Feb 2017 11:36 by ADMIN
This is reproducible only if the ribbon window chrome is enabled (IsWindowsThemeEnabled=False).


You can resolve this by registering an input binding for the Alt+Space key gesture and attaching it to the Telerik.Windows.Controls.RibbonView.Shell.SystemCommands.ShowSystemMenuCommand RoutedUICommand.

static MainWindow()
{
     var keyBinding = new KeyBinding(Telerik.Windows.Controls.RibbonView.Shell.SystemCommands.ShowSystemMenuCommand, new KeyGesture(Key.Space, ModifierKeys.Alt));
     CommandManager.RegisterClassInputBinding(typeof(RadRibbonWindow), keyBinding);
     RadRibbonWindow.IsWindowsThemeEnabled = false;
}
Approved
Last Updated: 04 Apr 2017 07:52 by ADMIN
The designer of VS crashes with a "Key cannot be null" when custom markup extension is used in Style Setter. This reproduces in the sample app attached in the blog (http://www.telerik.com/blogs/bring-office-2016-inspired-style-to-your-app-with-ui-for-wpf) on the TextBlock of the RabRadioButton HeadingStyle (snapshot attached) if you open MainWindow in Designer. Runtime everything works as expected.
Approved
Last Updated: 04 Jan 2017 13:33 by ADMIN
Initially RibbonView gets rendered design-time. Trying to edit RibbonTab-s or add new one causes the whole control to dissapear in the designer. Clean and rebuild of the solution doesn't help -- cleaning the Shadow cache of Visual Studio Designer is the onliest thing that helps.

The issue reproduces with Class Library containing the Ribbon setup and IsWindowsThemeEnabled property of RibbonWIndow turned off (default value).
Approved
Last Updated: 04 Jan 2017 07:26 by ADMIN
Workaround:
In the Loaded event of the RibbonWindow, use the Telerik.Windows.Controls.RibbonView.Shell.WindowChrome class to get the current window and set its ResizeBorderThickness property to 0. 

public MainWindow()
{
    InitializeComponent();
    this.Loaded += MainWindow_Loaded;
}
 
void MainWindow_Loaded(object sender, RoutedEventArgs e)
{
    Telerik.Windows.Controls.RibbonView.Shell.WindowChrome chome = Telerik.Windows.Controls.RibbonView.Shell.WindowChrome.GetWindowChrome(this);
    chome.ResizeBorderThickness = new Thickness(0);
}
Approved
Last Updated: 04 Jan 2017 07:26 by ADMIN
Approved
Last Updated: 04 Jan 2017 07:22 by ADMIN
This is reproducible only if the application that holds RadRibbonView is started on another machine and you are connected to it through Remote Desktop Connection. When the keytips are enabled and you click in the main machine, then click inside the remote desktop window, the keytips are displayed.
1 2