RadRibbonView how can I merge it with the Windows top bar like Excel?
See images below for example
1 Answer, 1 is accepted
0
Accepted
Martin
Telerik team
answered on 20 Mar 2017, 03:07 PM
Hello Luis,
We provide a RadRibbonWindow to achieve this functionality since the WPFWindow cannot be easily modified to achieve this. The RadRibbonWindow integrates the RadRibbonView into the window header in order to achieve the desired look. You can review the following article explaining its usage.
You can change the Window for your applicaiton to telerik:RadRibbonWindow, in your XAML and in code behind:
public partial class MainWindow : RadRibbonWindow
{
static MainWindow()
{
RadRibbonWindow.IsWindowsThemeEnabled = false;
}
public MainWindow()
{
InitializeComponent();
}
}
Setting IsWindowsThemeEnabled = false will allow the styling for the chosen theme to be assigned.
Set IsHitTestVisible ="True" to the RadRibbonWindow and merge in your App.xaml either as a single style or from a ResourceDictionary the following style after the other needed dictionaries for the chosen theme, where local is the namespace of your application:
Please refer to the mentioned article in our documentation for more detailed information about the usage of the RadRibbonWindow and do not hesitate to contact us further, if you have any more questions.
Regards,
Martin
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.