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

can i disable borders of a split panel

1 Answer 403 Views
SplitContainer
This is a migrated thread and some comments may be shown as answers.
Ravi Prakash
Top achievements
Rank 1
Ravi Prakash asked on 19 Feb 2010, 05:01 AM
Dear Friends,

I am facing problem with border of split panel in a split container.
 my requirement is one split panel in the split container must not show any borders but i am unable to do that...
i tried BorderStyle property but no use.

so what is the technique should be  fallow to disable borders of a split panel in the split container?

Thanks,
Regards,
Hari

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 22 Feb 2010, 12:51 PM
Hello Hari,

A SplitPanel has the BorderStyle property just because it is a RadControl inheritor. However, this property is not relevant to the SplitPanel object. In order to hide the borders of a SplitPanel, please set the Visibility property of a SplitPanel's BorderPrimitive to Collapsed:
((BorderPrimitive)this.splitPanel1.SplitPanelElement.Children[1]).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

I hope this helps. If you have additional questions, feel free to contact me.

Sincerely yours,
Nikolay
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
SplitContainer
Asked by
Ravi Prakash
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or