'Declaration Public Sub CenterChild( _ ByVal child As UIElement, _ ByVal animationDuration As TimeSpan, _ ByVal perQuarterTurn As Boolean _ )
'Usage Dim instance As Carousel Dim child As UIElement Dim animationDuration As TimeSpan Dim perQuarterTurn As Boolean instance.CenterChild(child, animationDuration, perQuarterTurn)
public void CenterChild( UIElement child, TimeSpan animationDuration, bool perQuarterTurn )
Parameters
- child
- Child to animation
- animationDuration
- Length of animation
- perQuarterTurn
- True, if duration be per quarter turn, otherwise duration the total turn to center the child.