RTL in Windows Forms ContextMenuStrip (ContextMenuStripEx)

3 Oct 20231 minute to read

RTL is used to display the content from right to left by setting the RightToLeft property to Yes.

The following code sample explains how to display the control from right-to-left.

this.contextMenuStripEx.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
Me.contextMenuStripEx.RightToLeft = System.Windows.Forms.RightToLeft.Yes

right-to-left