简体   繁体   中英

A smooth window resize animation in WPF using XAML

我想使用XAML调整窗口大小,但是当我希望它们同时进行动画处理时,它要么调整宽度或高度,否则我将使用故事板并通过Keydown从C#中召唤它们

Thanks for the help. Anyways, I found the solution, by using "fit to content" property on the window, and making the grid resize instead of the window. That'll make some numbers of width and height differences between the grid and the window, but it'll work

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM