Disable Splitter

2 posts, 0 answers
  1. Florian
    Florian avatar
    14 posts
    Member since:
    Dec 2014

    Posted 19 Jan 2015 Link to this post


    i have a SplitContainer with 3 SplitPanels.

    Between the first and second, there mustn't be a Splitter,
    Between the second and the third, there must be a Splitter.

    I tried to Set Splitter width to 4 for the SplitContainer in the Designer and then get the Splitters programmatically fom the Container and set the first Splitter to SplitterWidth = 0, but the Splitters Property of the Container is Empty.

    Any suggestions here.

    Florian Keller
  2. Ralitsa
    Ralitsa avatar
    190 posts

    Posted 22 Jan 2015 Link to this post

    Hi Florian,

    Thank you for contacting us. 

    You can set the Visibility property of splitter to Collapsed in the Load event of form. Here is the code snippet: 
    this.radSplitContainer1.Splitters[0].Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

    You can also set a splitter to be fixed. The splitter will be visible, but the user can not resize the panels: 
    this.radSplitContainer1.Splitters[0].Fixed = true;

    I hope this will help you. If you have any additional questions, please let me know. 


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top