Hello,
I do not fail to rotate that line consistently,
ie not jumping out six in 6 degrees tick,
I need to rotate fluently,
Angle="{Binding SecAngle}" its update to second.
This is for Analog Clock.
I'm a beginner :)
I do not want to use this From="0" To="360" Duration="0:1:0" I want to be in real time
I do not fail to rotate that line consistently,
ie not jumping out six in 6 degrees tick,
I need to rotate fluently,
Angle="{Binding SecAngle}" its update to second.
This is for Analog Clock.
I'm a beginner :)
Code:
<Grid>
<Line Stroke="Blue" StrokeThickness="10" VerticalAlignment="Center" HorizontalAlignment="Center" X1="5" X2="5" Y1="0" Y2="-175" RenderTransformOrigin="0.5,0.5">
<Line.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform Angle="{Binding SecAngle}"/>
</TransformGroup>
</Line.RenderTransform>
</Line>
</Grid>