Hi,
I've been browsing the Themes subfolder in the Telerik installation folder and I've noticed that each style for a control is named as follows, for example:
How can I reference the x:Key this style? For example, I want to create a style as follows:
What do I use for the ResourceKey to reference the Telerik style? The above example fails because I can't define the external namespace. This namespace is defined in the Telerik resource dictionaries as:
However there is no "Telerik.Windows.Controls.External" reference to add to my project. What can I use for the ResourceKey?
Kind regards,
Dave.
I've been browsing the Themes subfolder in the Telerik installation folder and I've noticed that each style for a control is named as follows, for example:
<Style TargetType="telerik:RadToolTip" x:Key="{telerik:ThemeResourceKey ThemeType= external:Office_SilverThemeExternal , ElementType=telerik:RadToolTip}" >How can I reference the x:Key this style? For example, I want to create a style as follows:
<Style TargetType="telerik:RadToolTip" BasedOn="{StaticReference ResourceKey={telerik:ThemeResourceKey ThemeType= external:Office_SilverThemeExternal , ElementType=telerik:RadToolTip}}" >What do I use for the ResourceKey to reference the Telerik style? The above example fails because I can't define the external namespace. This namespace is defined in the Telerik resource dictionaries as:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:external="clr-namespace:Telerik.Windows.Controls.External" >However there is no "Telerik.Windows.Controls.External" reference to add to my project. What can I use for the ResourceKey?
Kind regards,
Dave.