Hi,
I'm trying to use a WPF nuget addon called QuickConverter do do some inline logic in an xaml file.
Now what i want to do is show one string when a tooltip is disabled, and another when the tooltip is enabled. I was trying to adapt an example like this:
However i get an error saying "Markup extension is not properly closed." So what am I missing here?
I'm trying to use a WPF nuget addon called QuickConverter do do some inline logic in an xaml file.
Now what i want to do is show one string when a tooltip is disabled, and another when the tooltip is enabled. I was trying to adapt an example like this:
Code:
'Example:
Visibility="{qc:Binding '$P ? Visibility.Visible : Visibility.Collapsed', P={Binding ShowElement}}"
'Mine:
ToolTip="{qc:Binding '$P ? \'Enabled\' : \'Disabled\' ', P={Binding ElementName=btnClearSelected, Path=IsEnabled}}"