For a WPF application I have a user control MyUsrCntrl with Height=300 and Width=300
When i place MyUsrCntrl in a window and set its size to 600×600 the user control get resized but the controls in that does not get resized ,
is there any solution for this.
For a WPF application I have a user control MyUsrCntrl with Height=300 and Width=300
Share
If you want to extend and compress the height and Width of your Usercontrol then make the Parent Controls
Height="*"andWidth="*"and don’t assign any height and width to your controls present inside UserControl. Something like: