Splitter Width

3 posts, 0 answers
  1. Kenneth Jackson
    Kenneth Jackson avatar
    60 posts
    Member since:
    Dec 2007

    Posted 31 Aug 2009 Link to this post

    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. Robert
    Robert avatar
    82 posts
    Member since:
    Jun 2009

    Posted 31 Aug 2009 Link to this post

    Hi Kenneth,

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

    radDock1.SplitterWidth = 50; 


    - Robert
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Kenneth Jackson
    Kenneth Jackson avatar
    60 posts
    Member since:
    Dec 2007

    Posted 01 Sep 2009 Link to this post

    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 :)
Back to Top