Maximize & Minimize Window Animation Windows 11 UWP App

Avinash Kodavalla 36 Reputation points
2022-02-28T09:12:02.703+00:00

Hi Community,

I've made a basic UWP app with Mica Material. Everything works fine but app doesn't have Windows 11 style minimize and maximize animations. Can anyone tell what to add or modify to XAML or C# code to make it work.

Thanks in advance! :)

Regards
Avinash

Universal Windows Platform (UWP)
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,414 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,856 Reputation points
    2022-03-07T09:29:04.37+00:00

    Hello,
    Welcome to Microsoft Q&A!

    It was managed by system level, if you run the app in the windows 11, it will contain minimize and maximize animation automatically. you can check if you have enabled animation by OS setting?

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Limitless Technology 44,001 Reputation points
    2022-03-07T13:52:06.157+00:00

    Hi @Avinash Kodavalla

    To Turn On or Off Animation Effects via Settings app in Windows 11, do the following:
    -Press the Windows key + I to open Settings.
    -Click Accessibility on the left pane.
    -Click on Visual effects on the right pane.
    -Now, on the right pane, toggle the button to On (default) or Off for the option Animation effects per requirement.
    -Exit Settings app when done.

    Hope this helps with your query,

    --
    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments