I want to bind a single property to two buttons for Visiblity. I am using BooleantoVisibility Converter. I am able to hide or show button based on the Property value. My issue is, I want to show only one of two buttons. Below is my Code. Is there a way to bind using "NOT" or I have to create a new Property ?
<telerik:RadButton Content="Close" x:Name="btnClose" Visibility="{Binding Path=IsNewRecord, Converter={StaticResource BoolToVisiblity}}" Command="{Binding CloseCommand}" CommandParameter="{Binding ElementName=ProductCombobox, Path=Text}"/>
<telerik:RadButton Content="Delete" x:Name="btnDelete" Visibility="{Binding Path=IsNewRecord, Converter={StaticResource BoolToVisiblity}}" Command="{Binding DeleteCommand}" CommandParameter="{Binding ElementName=ProductCombobox, Path=Text}"/>