S
S
sanek20052021-01-19 00:34:48
Windows Forms
sanek2005, 2021-01-19 00:34:48

How to set a color for an element?

There is MenuStrip. It is necessary to make it so that when the item is opened, its (item) color changes. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RealLazyCat, 2021-03-21
@RealLazyCat

add menuStrip1.Items[0].ForeColor = Color.Red to the Click() property; for the first menu item
or for all menuStrip1.ForeColor = Color.Red;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question