RadListBox border

2 posts, 0 answers
  1. Jorge Delgado-Lopez
    Jorge Delgado-Lopez avatar
    82 posts
    Member since:
    Aug 2007

    Posted 06 Jan 2008 Link to this post


    How can I remove the border of a RadListBox? can't seem to find the right property in the control tree. Thanks, 
    - jorge
    PS. I am on Q2SP1 
  2. Nikolay
    Nikolay avatar
    1802 posts

    Posted 07 Jan 2008 Link to this post

    Hi Jorge Delgado-Lopez,

    Thank you for writing.

    In order to hide the RadListBox border, you need to modify the Form_Load event handler. Access RadListBoxElement's BorderPrimitive and set the Visibility property to Collapsed as shown in the codeblock below:

    (radListBox1.RootElement.Children[0].Children[1] as BorderPrimitive).Visibility = Telerik.WinControls.ElementVisibility.Collapsed; 

    Do not hesitate to contact us, if you need any additional assistance.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft banner
Back to Top