set backcolor of ContextMenu

  • Thread starter Thread starter Steve Richter
  • Start date Start date
S

Steve Richter

I would like my popup ContextMenu to have a different backcolor than
the form. How is that done?

thanks,

-Steve
 
Steve said:
I would like my popup ContextMenu to have a different backcolor than
the form. How is that done?

thanks,

-Steve

Steve,

You can set it at design time by changing the BackColor property when
you have the control selected. You can also change it at runtime with
the following:

myContextMenuStrip.BackColor = Colors.Red;

You can also use SystemColors too.


Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top