Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check Binding in Binding in Setter & Docu #258

Open
konne opened this issue Jun 5, 2020 · 1 comment
Open

Check Binding in Binding in Setter & Docu #258

konne opened this issue Jun 5, 2020 · 1 comment

Comments

@konne
Copy link
Member

konne commented Jun 5, 2020

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>
@DocBrown101
Copy link

Is there anything new yet? When can we expect a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants