I encountered a peculiar problem when using the RadRibbonView within the RadRibbonWindow. The problem doesn't occur when the RadRibbonView is hosted in a vanilla Window.
The problem is that the ApplicationName is duplicated when you set the Title property to empty or null in XAML or code. It doesn't occur when the property is unset. Setting the XAML using Title="" will display the ApplicationName twice. Setting a binding to the Title when the property value is null or an empty string will display the ApplicationName thrice.
For example, take this XAML (namespaces removed for brevity):
Initially, the AppTitle property has a null value. This results in the window displaying "My App Name - My App Name - My App Name" as shown in the attached screen clip. Removing the binding and changing the relevant XAML to Title="" results in "My App Name - My App Name".
This seems to be a bug, but I'm open to the idea that I'm missing something.
The problem is that the ApplicationName is duplicated when you set the Title property to empty or null in XAML or code. It doesn't occur when the property is unset. Setting the XAML using Title="" will display the ApplicationName twice. Setting a binding to the Title when the property value is null or an empty string will display the ApplicationName thrice.
For example, take this XAML (namespaces removed for brevity):
<
telerik:RadRibbonWindow
x:Class
=
"RadRibbonViewTitle.MainWindow"
...>
<
Grid
>
<
telerik:RadRibbonView
ApplicationName
=
"My App Name"
Title="{Binding AppTitle, Mode=OneWay}" />
</
Grid
>
</
telerik:RadRibbonWindow
>
Initially, the AppTitle property has a null value. This results in the window displaying "My App Name - My App Name - My App Name" as shown in the attached screen clip. Removing the binding and changing the relevant XAML to Title="" results in "My App Name - My App Name".
This seems to be a bug, but I'm open to the idea that I'm missing something.