I want my main 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?
+2
A:
"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.
NVM
2010-08-20 09:20:35
sorry, just was in a hurry hasn't double checked, what I wrote. Thanks for the suggestion.
Vitalij
2010-08-20 10:53:41