Home > front end >  How to make illumination moving effect on hover WINUI 3
How to make illumination moving effect on hover WINUI 3

Time:01-21

Sorry for maybe stupid question. In WinUI 2 Gallery on reveal focus there is amazing effect on mouse over, is something like this in WinUI 3?Effect example

I tried to google, but it gives me nothing...

CodePudding user response:

In WinUI3, RevealBackgroundBrush is no longer supported, and there is no related content in the Microsoft.UI.Xaml.Media Namespace.

In the document of RevealBackgroundBrush

RevealBackgroundBrush is available for use in the operating systems specified in the Requirements section. However, we do not recommend its use as it may be altered or unavailable in subsequent versions.

I think this should be the reason why RevealBackgroundBrush disappeared in WinUI3.

  • Related