Last active
February 10, 2017 11:01
-
-
Save franssu/16eb551edcec34f0848ba39633a15936 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<MultiDataTrigger.Conditions> | |
<Condition Binding="{Binding XXX}" Value="YYY"/> | |
<!-- Doesn't work --> | |
<Condition Binding="{Binding DataContext.ZZZ, RelativeSource={RelativeSource FindAncestor, AncestorType=ListBox}}" Value="KKK"/> | |
</MultiDataTrigger.Conditions> | |
<MultiDataTrigger.Conditions> | |
<!-- works --> | |
<Condition Binding="{Binding DataContext.ZZZ, RelativeSource={RelativeSource FindAncestor, AncestorType=ListBox}}" Value="KKK"/> | |
</MultiDataTrigger.Conditions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment