Hello,
I want to use the ribbon:RibbonStyles.TextBoxKey style on all type of controls in my project (XCeed NumericTextBox, for example).
I can't do
<Application.Resources>
<Style TargetType="{x:Type xcdg:NumericTextBox}">
<Setter Property="Style" Value="{StaticResource {x:Static ribbon:RibbonStyles.TextBoxKey}}" />
</Style>
</Application.Resources>
in app.xaml (error : Style object is not allowed to affect the Style property of the object to which it applies).
So, is there a way to use your style everywhere in an application ?
Thanks!
PS : your WPF products are great !
I want to use the ribbon:RibbonStyles.TextBoxKey style on all type of controls in my project (XCeed NumericTextBox, for example).
I can't do
<Application.Resources>
<Style TargetType="{x:Type xcdg:NumericTextBox}">
<Setter Property="Style" Value="{StaticResource {x:Static ribbon:RibbonStyles.TextBoxKey}}" />
</Style>
</Application.Resources>
in app.xaml (error : Style object is not allowed to affect the Style property of the object to which it applies).
So, is there a way to use your style everywhere in an application ?
Thanks!
PS : your WPF products are great !