I have this WPF xaml binding element below:
<telerik:GridViewDataColumn DataMemberBinding="{Binding Value, StringFormat='0.00'}" />
If Value
is 0
, I would like it to display an empty string.
I've tried:
DataMemberBinding="{Binding TotalStops, StringFormat='{}{0:#.#0}'}"
But when Value
is 0
, it displays .00
instead of an empty string.