FlipView.UseTouchAnimationsForAllNavigation property

Applies to Windows and Windows Phone

Gets or sets a value that indicates whether transition animations are always used whether the navigation is touch-based, button-based or programmatic.

Syntax


Public Property UseTouchAnimationsForAllNavigation As Boolean


<FlipView UseTouchAnimationsForAllNavigation="bool" />

Property value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

true if transition animations are always used; false if transition animations are used only for touch navigation. The default is true.

Remarks

The XAML FlipView control supports three modes of navigation; touch-based, button-based and programmatic. When a user navigates by touch, the FlipView items scroll smoothly into view. When you set this property to true, the same navigation animation occurs whether the navigation is touch-based, button-based and programmatic. If UseTouchAnimationsForAllNavigation is false and the user navigates by mouse, keyboard, or programmatically, the animation doesn't occur and items just pop into view.

Windows 8:  In Windows 8, the FlipView navigation animation occurs only when the user navigates by touch. If you recompile an app built for Windows 8 for Windows 8.1 and need to keep the Windows 8 behavior, set this property to false. For example, if you check the HorizontalOffset property value of FlipView's internal ScrollViewer while the selection is changing, the value is not fixed until the animation is complete. If your app has a dependency on this value, you can set this property to false.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

FlipView

 

 

Show:
© 2014 Microsoft