-
-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Description
designtime support in setters with non Binding Markupelement
Check if this is working
<Setter Property="Text" Value="{Binding Source={lex:Loc {Binding test}}}" />Docu the following cool workaround many thanks @Karnah
<TextBlock FontSize="20">
<TextBlock.Style>
<Style TargetType="TextBlock">
<Setter Property="Text" Value="{Binding Source={lex:Loc en}}" />
<Style.Triggers>
<DataTrigger Binding="{Binding ElementName=CheckBox, Path=IsChecked}" Value="True">
<Setter Property="Text" Value="{Binding Source={lex:Loc de}}" />
</DataTrigger>
</Style.Triggers>
</Style>
</TextBlock.Style>
</TextBlock>Reactions are currently unavailable