Is there a way to create ContextMenuStrip using Visual Studio and Forms with Windows 10 style. I know, that its Renderer can be changed in order to have look like Windows Vista, 7 and 8. And that is what I made:
But I also would like to make it look like this in Windows 10:
Is there a way to do it using Windows Forms, or it should be done in some special way, using Metro classes etc?
You can implement your custom
Renderer
and overrideOnRenderArrow
andOnRenderItemCheck
and pass your customColorTable
to it. Then set it asRenderer
of yourContextMenu
.Code for ColorTable:
Code for Renderer:
Code for Form Load: