RadGroupBox shows a white border around the inner controls. i don't want the control to show the border. i have tried to find different ways but couldn't do it. here is a screenshot. you can see the white border here which i want to be removed.
is there any way to do it?
is there any way to do it?
5 Answers, 1 is accepted
0
Hi Shaihan,
Sincerely yours,
Victor
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.
This is not a white border, but it is the default background of RadGroupBox for the ControlDefault theme. You need to set the back ground color to Transparent:
((FillPrimitive)
this
.radGroupBox1.GroupBoxElement.Content.Children[0]).BackColor = Color.Transparent;
Sincerely yours,
Victor
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.
0
Shaihan
Top achievements
Rank 1
answered on 19 Mar 2010, 07:18 AM
thanks.
is there any way to change the color of GroupBox background in the ControlDefault theme once so that it applies to all the GroupBox rather than changing for each of the GroupBox?
is there any way to change the color of GroupBox background in the ControlDefault theme once so that it applies to all the GroupBox rather than changing for each of the GroupBox?
0
Yes Shaihan, you can change the ControlDefault theme. Just load RadGroupBox in Visual Style Builder and then change the colors of the GroupBoxContent >> FillPrimitive. Set the ThemeName of the theme to ControlDefault and save it. Further, load the theme in your project and this will replace the original ControlDefault theme.
All the best,
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.
All the best,
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.
0
John
Top achievements
Rank 1
answered on 30 Nov 2013, 11:34 PM
Hello Support Team!
I copied/paste the code you said.
But doesn't work and sends me error.
Would you please take a new look and help?
Thank you.
I copied/paste the code you said.
But doesn't work and sends me error.
Would you please take a new look and help?
Thank you.
0
Hello John,
In our latest releases the background color of RadGroupBox is Transparent by default, so there is no need to use the code snippet provided by Victor if you want to have Transparent background. Still, if you, let's say, want to have a Red color for the background, the following code snippet should work without any issues in our latest release Q3 2013 SP1 (v2013.3.1127):
If you continue to experience any issues with this scenario, please open a new support ticket and send us a sample project that can demonstrate them. This will allow me to provide you with further assistance.
Regards,
Nikolay
Telerik
In our latest releases the background color of RadGroupBox is Transparent by default, so there is no need to use the code snippet provided by Victor if you want to have Transparent background. Still, if you, let's say, want to have a Red color for the background, the following code snippet should work without any issues in our latest release Q3 2013 SP1 (v2013.3.1127):
((FillPrimitive)
this
.radGroupBox1.GroupBoxElement.Content.Children[0]).BackColor = Color.Red;
If you continue to experience any issues with this scenario, please open a new support ticket and send us a sample project that can demonstrate them. This will allow me to provide you with further assistance.
Regards,
Nikolay
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>