We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As the same as
<TextBlock Text="{c:Binding '(1 == 2) ? 10 : 20'}" />
We may expect that
<TextBlock Text="Test" Foreground="{c:Binding '(1 == 1) ? #ff0000 : #000000'}" VerticalAlignment="Center"/>
display text in red. Unfortanutelly, no text is displayed
Thank you :)
The text was updated successfully, but these errors were encountered:
Now you can write something like:
<Button Background="{c:Binding '(A > B ? media:Brushes.LightBlue : media:Brushes.White)'}"/>
where 'media' is defined as:
xmlns:media ="clr-namespace:System.Windows.Media;assembly=PresentationCore"
in header of xaml, see documentation
Sorry, something went wrong.
No branches or pull requests
As the same as
We may expect that
display text in red.
Unfortanutelly, no text is displayed
Thank you :)
The text was updated successfully, but these errors were encountered: