Sorry for such a simple question as I'm new to WPF but how do I add text to my axis title in front of my binding value?
Here is my XAML that I'm trying:
<telerik:LinearAxis Title="{Binding YAxisLabelDescription, StringFormat='Profit: {0}'}"/>
My YAxisLabelDescription value is going to be "$" or "%" from my viewmodel. I would like to prepend the word "Profit" before the value in my XAML.
The problem is the only thing showing up is "$" or "%".
What am I missing?
Thank you,
Mark
Here is my XAML that I'm trying:
<telerik:LinearAxis Title="{Binding YAxisLabelDescription, StringFormat='Profit: {0}'}"/>
My YAxisLabelDescription value is going to be "$" or "%" from my viewmodel. I would like to prepend the word "Profit" before the value in my XAML.
The problem is the only thing showing up is "$" or "%".
What am I missing?
Thank you,
Mark