stealthsid
Top achievements
Rank 1
stealthsid
asked on 22 May 2008, 07:04 PM
I have a 16x16 png that I am using as the "Image" property of a RadRepeatButton. The problem is that I cannot easily get rid of the blue border that the RadRepeatButton wishes to use.
5 Answers, 1 is accepted
0
stealthsid
Top achievements
Rank 1
answered on 22 May 2008, 07:05 PM
Sorry, a bit more detail, I have the button height/width set to 16x16 since that's how big the PNG file is.
0
stealthsid
Top achievements
Rank 1
answered on 22 May 2008, 07:18 PM
Nevermind I appear to have found the answer. Setting the borderPrimitive visibility to collapse using the UI element editor seems to have done the trick.
0
Hi stealthsid,
You are correct. To hide the border, you should set the Visibility property of the BorderPrimitive to Hidden or Collapsed. I am glad to hear you've achieved the appearance you need.
If you have additional questions, feel free to contact me.
All the best,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You are correct. To hide the border, you should set the Visibility property of the BorderPrimitive to Hidden or Collapsed. I am glad to hear you've achieved the appearance you need.
If you have additional questions, feel free to contact me.
All the best,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Derek
Top achievements
Rank 1
answered on 05 Jun 2013, 06:42 PM
Could you post the code for that?
0
Hi Derek,
Thank you for writing.
The code you would like to see should look like that:
Hope that helps.
Regards,
Paul
Telerik
Thank you for writing.
The code you would like to see should look like that:
this
.radRepeatButton1.ButtonElement.BorderElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
Hope that helps.
Regards,
Paul
Telerik
RadChart for WinForms is obsolete. Now what?