Touch Mode in Windows Forms ContextMenuStrip (ContextMenuStripEx)

4 Feb 20251 minute to read

Touch mode is used to access the control easily in touch devices. This option can be enabled using the EnableTouchMode property of ContextMenuStripEx control.

The below code snippet shows how touch mode is enabled in ContextMenuStripEx control.

this.contextMenuStripEx1.EnableTouchMode = true;
Me.contextMenuStripEx1.EnableTouchMode = True