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

Text efect in enable/disable radButton

1 Answer 139 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
ADMIN-CV
Top achievements
Rank 1
ADMIN-CV asked on 27 May 2010, 08:39 PM
I would like to know if there is a way to avoid that "weird" text effect in radButtons (WinForms) when you enable/disable buttons.

Thanks in advance

Sergio

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 02 Jun 2010, 07:56 AM
Hi Sergio,

I am not sure that I understand the issue and the text effect you are experiencing but there is a way to change the default disabled paint that comes with all our controls. You will basically need two things:

- Put the following line in your code:

this.radButton1.RootElement.UseDefaultDisabledPaint = false;

- Open our Visual Style Builder and create entry for the Disabled state of the button (see attached screen). More information about using the VSB you can find in this tutorial.

I hope this information is useful. Do not hesitate to contact us if you have other questions.


Best wishes,
Georgi
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.
Tags
Buttons, RadioButton, CheckBox, etc
Asked by
ADMIN-CV
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or