Table of Contents

Property PropertyOverrides

Namespace
Velvet
Assembly
Velvet.Docs.dll

PropertyOverrides

Optional per-property transition overrides layered on top of the top-level DurationSec / Easing / DelaySec (e.g. opacity tweening in 0.15s while scale takes 0.5s). When set, transition-property switches from the implicit "all" catch-all — used for a variant class swap, which carries no transition-* of its own — to EXACTLY these properties, in declaration order: overrides REPLACE transition-property: all rather than layering on top of it, matching CSS semantics where an explicit transition-property list transitions only what it names. Name every property that should animate. Currently wired only where a variant swap would otherwise set transition-property: all (a variant-driven enter, or an exit driven by a variants + exit label) — a preset transition's own USS-declared transition-property is untouched. Null (default) preserves today's behavior unchanged. Not read when Type is Spring: a spring drives every animated channel with the SAME Stiffness / Damping / Mass — there is no per-property override of the spring model itself (only Tween's per-property duration/easing/delay can be overridden this way).

public IReadOnlyList<StylePropertyTransition>? PropertyOverrides { get; init; }

Property Value

IReadOnlyList<StylePropertyTransition>