Live Chat Icon For mobile
Live Chat Icon

How do I programatically change the color of a control

Platform: WinForms| Category: Controls

Use the properties BackColor and ForeColor.

	
	button1.BackColor = Color.White;
	button1.ForeColor = Color.Blue;

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.