Does anyone knows how to implement menu item with toggle icon similar to visual studio Toolbar menu.
Asked
Active
Viewed 441 times
2

madufit1
- 206
- 3
- 10
2 Answers
1
You need to create a class to handles the command´s BeforeQueryStatus event and use the checkbox in your side.
The simliar issue has been asked here:

Jack Zhai
- 6,230
- 1
- 12
- 20
0
Thank you Jack for your reply. Solution would be adding two menu items(with and without checkbox icon) and toggle the visibility state of both menu items in BeforeQueryStatus event.

madufit1
- 206
- 3
- 10