RadioButton.ForeColor not working in C# winforms ?????


C# – Windows Application

Scratched my head till two days …. 🙂   Why i am not able to set forecolor of Radio button text ?

Then one next morning @ 7 A.m , i found solution and really, error was so dumb … 🙂

It was “RadioButton.FlatStyle” property which won’t allow me to change Fore color….

Set RadioButton.FlatStyle = “standard” , NOT “System” coz else it wont allow u to alternate that system color settings….

Happy coding … 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s