unoplatform/uno

Support for `UISettings.AnimationsEnabled` and `AutoHideScrollBars`

Open

#6851 aperta il 24 ago 2021

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)C# (837 fork)batch import
area/a11ydifficulty/starter 🚀good first issuekind/enhancementlow-hanging-🍒no-reproproject/core-tools 🛠️

Metriche repository

Star
 (9789 star)
Metriche merge PR
 (Merge medio 14g 8h) (130 PR mergiate in 30 g)

Descrizione

What would you like to be added:

Support for UISettings.AnimationsEnabled automatically when available (linked with system settings), or through a FeatureConfiguration flag when not available.

Why is this needed:

Many control implementatons rely on UISettings.AnimationsEnabled to enhance accessibility, and this feature is also useful when buildind automation testing.

The WCT DataGrid control also uses this flag: https://github.com/CommunityToolkit/WindowsCommunityToolkit/blob/b60515414660f438db3e82e2f7a1b98b45d5fb07/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Utilities/UISettingsHelper.cs

For which Platform:

All.

Anything else we need to know?

Guida contributor