开发者

In WPF how do I Resize main windows during the runtime

开发者 https://www.devze.com 2023-01-12 15:22 出处:网络
I want my m开发者_运维技巧ain WPF window during the runtime, when there is not enough space for my control, to resize itself. I could create a window which takes a maximum amount of space on the scree

I want my m开发者_运维技巧ain WPF window during the runtime, when there is not enough space for my control, to resize itself. I could create a window which takes a maximum amount of space on the screen and make it transparent, but are there any other ways to do it?


"I want my main WPF window during the runtime of my application when there is not enough space for my control"

What does this mean?

You should have a look at SizeToContent property on Window.

0

精彩评论

暂无评论...
验证码 换一张
取 消