ToolStripItemAlignment Enumeration

 

Determines the alignment of a ToolStripItem in a ToolStrip.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum ToolStripItemAlignment

Member nameDescription
Left

Specifies that the ToolStripItem is to be anchored toward the left or top end of the ToolStrip, depending on the ToolStrip orientation. If the value of System.Windows.Forms.RightToLeft is Yes, items marked as Left are aligned to the right side of the ToolStrip.

Right

Specifies that the ToolStripItem is to be anchored toward the right or bottom end of the ToolStrip, depending on the ToolStrip orientation. If the value of System.Windows.Forms.RightToLeft is Yes, items marked as Right are aligned to the left side of the ToolStrip.

.NET Framework
Available since 2.0
Return to top
Show: