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
1 Answer, 1 is accepted
0
Nikolay
Telerik team
answered on 07 Jan 2008, 04:46 PM
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.