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 |
|
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
<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)
Property | Type | Description |
---|---|---|
Duration | double | The duration of the animation in milliseconds |
ReorderGridAnimation Sample Page Source. You can see this in action in the Windows Community Toolkit Sample App.
Device family | Universal, 10.0.16299.0 or higher |
---|---|
Namespace | Microsoft.Toolkit.Uwp.UI.Animations |
NuGet package | Microsoft.Toolkit.Uwp.UI.Animations |