This question is locked. New answers and comments are not allowed.
Hi!
I have created a Linear Gauge in my WP app by using the Smart Tag.
This results in some of the xaml I pasted in below.
How can I databind the three places where the value is hardcoded to 27.67?
I have tried to bind them to an existing value in my viewmodel, {Binding MyViewModelValue} , but the result is 0,0 regardless my viewmodel value when running the app.
TIA
/Johan
I have created a Linear Gauge in my WP app by using the Smart Tag.
This results in some of the xaml I pasted in below.
How can I databind the three places where the value is hardcoded to 27.67?
I have tried to bind them to an existing value in my viewmodel, {Binding MyViewModelValue} , but the result is 0,0 regardless my viewmodel value when running the app.
TIA
/Johan
<gauges:RadGauge Margin="0,92,0,0">... <gauges:LinearBarGaugeIndicator x:Name="indicator1" BarBrush="{StaticResource PhoneForegroundBrush}" BarThickness="8" IsAnimated="True" RenderTransform="{StaticResource indicatorNudge}" Value="27.67"/> <gauges:MarkerGaugeIndicator x:Name="indicator2" IsAnimated="True" gauges:LinearGaugeRange.IndicatorOffset="7" Value="27.67">...<gauges:MarkerGaugeIndicator x:Name="indicator3" IsAnimated="True" gauges:LinearGaugeRange.IndicatorOffset="12" Value="27.67">