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

Resize Docked Window On User Interaction

1 Answer 16 Views
LayoutControl
This is a migrated thread and some comments may be shown as answers.
Joshua
Top achievements
Rank 1
Joshua asked on 22 Apr 2019, 11:21 PM
We have a config that normally sits on the left hand of the screen and there are a couple of situations where I would like for the config panel to take some of the space from the surrounding windows when a user clicks a button. I have not got any code to adjust the size of a window when docked, is this possible?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 23 Apr 2019, 06:56 AM
Hi Joshua,

You can set the MinSize of the layout item:
private void RadButton3_Click(object sender, EventArgs e)
{     
    layoutControlItem3.MinSize = new Size(500, 0);      
}

I hope this will be useful.  

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
LayoutControl
Asked by
Joshua
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or