ReorderGridAnimation

Warning

The ReorderGridAnimation type has been renamed, please see ItemsReorderAnimation.

The ReorderGridAnimation class allows your GridView controls to animate items into position when the size of the GridView changes.

Syntax

<Page ...
    xmlns:animations="using:Microsoft.Toolkit.Uwp.UI.Animations"/>
<GridView x:Name="MyGridView"
          animations:ReorderGridAnimation.Duration="250"/>
MyGridView.SetValue(ReorderGridAnimation.DurationProperty, 250);
MyGridView.SetValue(ReorderGridAnimation.DurationProperty, 250)

Sample Output

ReorderGridAnimation

Properties

Property Type Description
Duration double The duration of the animation in milliseconds

Sample Project

ReorderGridAnimation Sample Page Source. You can see this in action in the Windows Community Toolkit Sample App.

Requirements

Device family Universal, 10.0.16299.0 or higher
Namespace Microsoft.Toolkit.Uwp.UI.Animations
NuGet package Microsoft.Toolkit.Uwp.UI.Animations

API