In Development
Last Updated: 29 Sep 2023 05:18 by ADMIN

The RadRibbonWindow titlebar is higher than expected when the Windows 11 theme is used. 

A side effect of this is that the content overlaps the titlebar, when the content is not a RadRibbonView. 

This reproduces when the Windows11 and Crystal themes are used. To reproduce it, the IsWindowsThemeEnabled property should be set to false in order for the Telerik theme to get applied to the window.

To work this around, you can use the visual tree helper methods in the Loaded event of RadRibbonWindow in order to get the corresponding visuals and change their size and offset.

private void RadRibbonWindow_Loaded(object sender, RoutedEventArgs e)
{
	var windowDecoratorPanel = this.ChildrenOfType<Grid>().FirstOrDefault(x => x.Name == "MaximizeWindowDecorator");
	var titleBarPanel = windowDecoratorPanel.FindChildByType<Grid>();
	titleBarPanel.RowDefinitions[0].Height = new GridLength(30);

	var clientArea = windowDecoratorPanel.ChildrenOfType<Border>().FirstOrDefault(x => x.Name == "PART_ClientAreaBorder");
	clientArea.Margin = new Thickness(0);
}

In Development
Last Updated: 28 Sep 2023 05:10 by ADMIN
Shift + Left arrow navigation selects the entire word instead of the previous letter when inside a table. 
In Development
Last Updated: 25 Sep 2023 13:30 by ADMIN
RadRichTextBox: Creating a new document fragment from imported document adds empty paragraph at the end.
In Development
Last Updated: 13 Sep 2023 07:24 by ADMIN
Created by: Martin Ivanov
Comments: 1
Category: UI for WPF
Type: Feature Request
24
The new API should allow you get an SVG file and convert it in a WPF-friendly format.

If there is a control, it should also display the SVG contents.