I am trying to bind the Label of a XamDataChart
<ig:NumericYAxis x:Name="y1Axis" Label= "{Binding Y1Axis.LabelFormat, Mode=OneWay}" >
<ig:NumericYAxis.LabelSettings>
</ig:NumericYAxis>
I hard code the property to "{}{:F3}"
When executed, this caused the label to output twice ( "1234.5671234.567" )
but if I change the xaml to
<ig:NumericYAxis x:Name="y1Axis" Label= "{}{:F3}" >
I get "1234.567"
What is causing the label to get formatted twice when its bound?
Hello Rod,
To get 1234.567 to display use "{:F3}" when binding on the Label property.
Let me know if I can provide any further assistance.
Duh! Sorry about that post. totaly spaced on the fact that the {} is used in xaml to indicate that you really want the next { to be treated as such!