Animations
Uno Platform supports storyboarded animations. A number of animation types are supported, including DoubleAnimation
, ColorAnimation
, and key frame-based animations.
General guidelines
As of 1.43.1:
- GPU-bound animations are supported for the following properties:
Opacity
RenderTransform
of typeTranslateTransform
,RotateTransform
,ScaleTransform
, orCompositeTransform
. Transforms cannot be part of a TransformGroup.
- When animating a
Transform
, you can animate only one property at a time (i.e.CompositeTransform.TranslateX
orCompositeTransform.TranslateY
), - You cannot reuse a
Transform
or anAnimation
declared in resources on multiple controls (instead you have to put your animation in aTemplate
) - By default on iOS, Android and WASM, controls are clipped by their parent. On iOS you can set the flag
Uno.UI.FeatureConfiguration.UIElement.UseLegacyClipping = false
to get the Windows behavior.