Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > SplitContainer > can i disable borders of a split panel

Not answered can i disable borders of a split panel

Feed from this thread
  • Ravi Prakash avatar

    Posted on Feb 18, 2010 (permalink)

    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

    Reply

  • Nikolay Nikolay admin's avatar

    Posted on Feb 22, 2010 (permalink)

    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.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > SplitContainer > can i disable borders of a split panel
Related resources for "can i disable borders of a split panel"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]