Reputation: 82467
Is it possible to do an "IS" condition in xaml?
<Condition
Binding="{Binding RelativeSource={RelativeSource Self}, Path=Type}"
Value="MyNamespace.MyClass" />
There is no property called Type on the class I need. There is the ever-present GetType() method, but I don't know how to call that here to make the condition comparison.
Is there a way to do this?
Upvotes: 0
Views: 204