I'm pretty new in windows programming and I created a custom "Flyout" that looks like the "SettingsFlyout" and I want to change the animation of this "Flyout" that acts like the "SettingsFlyout". can I control the animation of "Flyout"? and if so can I create the same animation like the "SettingsFlyout"?
In the picture the layout that I want to edit his animation :

You can use Offset animation from Microsoft community toolkit to acheive the animation. I have added a sample animation of what you are trying to achieve.
Microsoft.Toolkit.Uwp.UI.Animations;
//Mainpage.Xaml
//MainPage.Xaml.cs