Vixen
dd8b0a81
csharp
public enum MotionPreference

Whether the user has asked for less movement on screen.

Read the guide page for this →

Remarks

⚠ Two values and not three, unlike ColorSchemePreference. CSS Media Queries 5 § 6.2 gives prefers-reduced-motion exactly no-preference and reduce: there is no way for a user to ask for more motion, so an Increase here would be a member no operating system can ever produce and every switch over it would need an arm nothing reaches.

Fields and properties (2)

  • NoPreference

    No preference expressed — CSS's no-preference.

  • Reduce

    Animation should be reduced — CSS's reduce.

Used by (7)

  • AccessibilityWiringTestsVixen.Platform.Ui.Tests
  • MediaPreferencesVixen.Ui.Styling
  • MediaQueryVixen.Ui.Styling
  • PlatformInputVixen.Platform.Ui
  • ReducedMotionTestsVixen.Ui.Styling.Tests
  • StyleEngineVixen.Ui.Styling
  • VariantCoverageTestsVixen.Ui.Styling.Utilities.Tests