Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 2.32 KB

ReorderGrid.md

File metadata and controls

61 lines (43 loc) · 2.32 KB
title author description keywords dev_langs
ReorderGridAnimation
nmetulev
The ReorderGridAnimation class allows your GridView controls to animate items into position when the size of the GridView changes (outdated docs).
windows 10, uwp, windows community toolkit, uwp community toolkit, uwp toolkit, ReorderGridAnimation
csharp
vb

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.

[!div class="nextstepaction"] Try it in the sample app

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