Class StyleTransition
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Predefined transition presets for V.Motion. All presets animate only translate / scale /
opacity, so they never trigger a layout recomputation. Override duration / easing per use via
With(float?, EasingMode?, EasingMode?, float?), e.g. StyleTransition.Fade.With(durationSec: 0.5f).
public static class StyleTransition
- Inheritance
-
objectStyleTransition
Fields
- Fade
Fade in/out. Suited to modal overlays and similar.
- FadeSlideUp
Subtle slide-up + fade. Suited to list items and similar.
- ScaleIn
Scale + fade. Suited to modal content and similar.
- SlideDown
Slide-in from top to bottom. Suited to dropdowns and similar.
- SlideLeft
Slide-in from right to left. Suited to side panels and similar.
- SlideRight
Slide-in from left to right. Suited to drawers and similar.
- SlideUp
Slide-in from bottom to top. Suited to bottom sheets and similar.