This is a migrated thread and some comments may be shown as answers.

How to adjust size wpf parent window same as it's child window size

0 Answers 198 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
hallatie
Top achievements
Rank 1
hallatie asked on 11 Mar 2011, 09:23 AM

hello,

I have an empty parent window, in runtime i add the child user control to it.

i want to resize my parent window according to the different child contents, i have used SizeToContent but it does not worked for me.

i add this child user control in a GridControl of my Parent window. Is it possible to resize main window according to child user control

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
hallatie
Top achievements
Rank 1
Share this question
or