Invert Bool Binding
Posted: 11 Aug 2026, 18:48
Hey, what's the best way to invert a bool binding with Studio?
You can use DataTriggers to set the property, or would having a converter in Studio be useful, perhaps?
Code: Select all
<Button IsEnabled="{Binding Path=bDisabled}"/> <!--(want !bDisabled)-->You can use DataTriggers to set the property, or would having a converter in Studio be useful, perhaps?