This is a migrated thread and some comments may be shown as answers.
Splitter Width
2 Answers 26 Views
This is a migrated thread and some comments may be shown as answers.
Kenneth Jackson
Top achievements
Rank 1
Kenneth Jackson asked on 31 Aug 2009, 06:38 AM
I need to get the splitter width for all the windows in a raddock to default to a bigger area.
I tried editing the UI element tree from the smart tag and even tried it in code

((

Telerik.WinControls.UI.SplitterElement)(this.dockMain.GetChildAt(1).GetChildAt(0))).AutoSize = false;

 

((

Telerik.WinControls.UI.SplitterElement)(this.dockMain.GetChildAt(1).GetChildAt(0))).SplitterWidth = 15;

 



however although I get no exceptions , my splitter widths remain the default width.
Is there a different property that needs to be applied to change the splitter width ?

2 Answers, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 31 Aug 2009, 05:13 PM
Hi Kenneth,

There is actually a property called SplitterWidth directly on the RadDock control.

radDock1.SplitterWidth = 50; 


- Robert
0
Kenneth Jackson
Top achievements
Rank 1
answered on 01 Sep 2009, 12:31 PM
Haha , I've spent so much time always talking directly to elements that I immediatly assumed finding the element was the place to go.

Simplicity ftw , thanks shoerob :)
Tags
Dock
Asked by
Kenneth Jackson
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Kenneth Jackson
Top achievements
Rank 1
Share this question
or