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

Disable Splitter

1 Answer 784 Views
SplitContainer
This is a migrated thread and some comments may be shown as answers.
Florian
Top achievements
Rank 1
Florian asked on 19 Jan 2015, 03:10 PM
Hi,

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.

Regards,
Florian Keller

1 Answer, 1 is accepted

Sort by
0
Ralitsa
Telerik team
answered on 22 Jan 2015, 11:40 AM
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. 

Regards,
Ralitsa
Telerik
 

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.

 
Tags
SplitContainer
Asked by
Florian
Top achievements
Rank 1
Answers by
Ralitsa
Telerik team
Share this question
or