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

TabStrip.SizeInfo not changing the size.

2 Answers 56 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Hugues
Top achievements
Rank 1
Hugues asked on 28 Apr 2015, 08:22 PM
After docking a Tool Window i set the TabStrip.SizeInfo.Absolute size. But whenever i run the application the size never changes.

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 29 Apr 2015, 07:50 AM
Hello Hugues,

Thank you for writing.

You need to set both SizeMode and AbsoluteSize properties:
window4.TabStrip.SizeInfo.SizeMode = SplitPanelSizeMode.Absolute;
window4.TabStrip.SizeInfo.AbsoluteSize = new Size(150, 0);

Here you can find an example: http://www.telerik.com/help/winforms/dock-object-model-example-building-an-advanced-layout-at-runtime.html.

I hope this helps.

Regards,
Stefan
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Hugues
Top achievements
Rank 1
answered on 30 Apr 2015, 03:58 PM
Thanks Stefan, it works now.
Tags
Dock
Asked by
Hugues
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Hugues
Top achievements
Rank 1
Share this question
or