Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.85 KB

adddeletethemetransition.md

File metadata and controls

46 lines (30 loc) · 1.85 KB
-api-id -api-type
T:Windows.UI.Xaml.Media.Animation.AddDeleteThemeTransition
winrt class

Windows.UI.Xaml.Media.Animation.AddDeleteThemeTransition

-description

Provides the animated transition behavior for when controls add or delete children of a panel. For example, if you have a collection of photos displayed in a Grid, you can associate this animation to the Grid so that when photos are added or deleted, the photos will animate in and out of view.

-xaml-syntax

<AddDeleteThemeTransition .../>

-remarks

-examples

The following example shows how to use the AddDeleteThemeTransition to animate rectangles as they are added and deleted from a panel. Notice how the other child elements of the panel re-flow when one of them is removed.

[!code-xamlAddDeleteThemeTransition]

[!code-csharpAddDeleteThemeTransition_code]

-see-also

Transition, Guidelines for add and delete animations