How to dock.fill user control inside a docking manager window?

Hi,

I have a user control which I'm placing in a docking window. I would like the control docked to fill inside the window so that if I resize the window, the user control will resize with it. How would I achieve this?


3 Replies 1 reply marked as answer

GT Gokul Thanudhas Syncfusion Team April 12, 2022 09:36 PM UTC

Hi Lorenzo


Normally the size of the children change relatively with the dockwindow.Pleae refer the sample for your reference.
If we misunderstood the query, please provide more details or sample about the requirement. So, it will be helpful to prompt the solution on further.


Regards,

Gokul T.


Attachment: WpfApp1_f7701c52.zip

Marked as answer

LO Lorenzo April 13, 2022 11:10 AM UTC

Hi,

Thanks for the information.

I had accidentally set some height/width settings to the user control.


d:DesignHeight="450" d:DesignWidth="800"

Height="450" Width="800"

HorizontalAlignment="Stretch"

VerticalAlignment="Stretch"


Once I had removed this, the control properly resized as you said.



GT Gokul Thanudhas Syncfusion Team May 2, 2022 05:47 AM UTC

Hi Lorenzo,


We are glad to know that your issue has been fixed. Please let us know if you need any other assistance. We are happy to assist you.


Regards,

Gokul T.


Loader.
Up arrow icon