BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
I have applied a visual style through the static method SkinStorage.VisualStyle. For example Blend.
I override and inherit from the default style to supply tooltips for data validation errors on the textbox,
If I apply this to the forms resources, the skin storage style is removed - is there a way to do this?
<Window.Resources><Style TargetType="{x:Type TextBox}" BasedOn="{StaticResource {x:Type TextBox}}"><Style.Triggers><Trigger Property="Validation.HasError" Value="true"><Setter Property="ToolTip" Value="{Binding RelativeSource={x:Static RelativeSource.Self},Path=(Validation.Errors)[0].ErrorContent}"/></Trigger></Style.Triggers></Style>
</Window.Resources>
ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Syncfusion.Shared.WPF;component/SkinManager/MetroStyle.xaml"/>
</ResourceDictionary.MergedDictionaries>
<Style TargetType="Label" BasedOn="{StaticResource MetroLabelStyle}">
<Setter Property="HorizontalContentAlignment" Value="Right"/>
<Setter Property="Background" Value="Bisque"/>
</Style>