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

RadCheckbox Border

4 Answers 44 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Udo
Top achievements
Rank 1
Udo asked on 22 Jan 2018, 07:57 AM

Hello.

I need a radcheckbox in a button.

How can i disable the border from the checkbox programaticly?

I canĀ“t find it on the sourcecode.

 

Thank you.

4 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 23 Jan 2018, 09:24 AM
Hello, Udo,    

Thank you for writing.  

According to the provided screenshot it seems that you use the VisualStudio2012Dark. In order to hide the border for RadCheckBox you should set the RadCheckBox.ButtonElement.CheckMarkPrimitive.Border.Visibility property to Collapsed.

I hope this information helps. Should you have further questions I would be glad to help. 
 
 Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Udo
Top achievements
Rank 1
answered on 24 Jan 2018, 11:09 AM

Hello and thank you for the help.

This code collapsed the inner border.

I need to collapse the border from the textelement. The black border outside the element.

Because i want to show the border from the buttonelement.

 

Thenks Udo

0
Udo
Top achievements
Rank 1
answered on 24 Jan 2018, 11:41 AM

Hello.

I have found it.

.ButtonElement.BorderElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed

Thanks

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 24 Jan 2018, 12:14 PM
Hello, Udo,  

Thank you for writing back. 

I am glad that you have found a suitable solution for your case. Alternatively, you can set the RadCheckBox.ButtonElement.ShowBorder property to false.

I hope this information helps. If you have any additional questions, please let me know. 

 Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
Udo
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Udo
Top achievements
Rank 1
Share this question
or