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

RadDock without visible border

2 Answers 160 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Glenn
Top achievements
Rank 1
Glenn asked on 21 Nov 2012, 06:08 AM
I have set my RadDock MainDocumentContainerVisible = false and BorderStyle = none. But there is still a borderline on the left and top. If I set the BorderStyle to FixedSingle, the whole thing has a border, but the Left and Top still have an extra wide border. What is causing this?

Thanks,

G

2 Answers, 1 is accepted

Sort by
0
Accepted
Nikolay
Telerik team
answered on 21 Nov 2012, 03:09 PM
Hi Glenn,

If I understand your requirement correctly, you want to remove the border area between the ToolTabStrip that contains your ToolWindows and the edges of RadDock. If this is your case, you can hide it by removing the Padding from the RootElement of RadDock:

this.radDock1.RootElement.Padding = new Padding(0);

I hope this helps.

Regards,
Nikolay
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Glenn
Top achievements
Rank 1
answered on 21 Nov 2012, 03:21 PM
Yes, that did the trick.

Thank you,

Glenn
Tags
Dock
Asked by
Glenn
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Glenn
Top achievements
Rank 1
Share this question
or