ToolStripItemAlignment ToolStripItemAlignment ToolStripItemAlignment ToolStripItemAlignment Enum

定义

确定 ToolStripItem 中的 ToolStrip 的对齐方式。Determines the alignment of a ToolStripItem in a ToolStrip.

public enum class ToolStripItemAlignment
public enum ToolStripItemAlignment
type ToolStripItemAlignment = 
Public Enum ToolStripItemAlignment
继承
ToolStripItemAlignmentToolStripItemAlignmentToolStripItemAlignmentToolStripItemAlignment

字段

Left Left Left Left 0

根据 ToolStripItem 方向指定 ToolStrip 将锚定到 ToolStrip 的左端或顶端。Specifies that the ToolStripItem is to be anchored toward the left or top end of the ToolStrip, depending on the ToolStrip orientation. 如果 RightToLeft 的值为 Yes,则标记为 Left 的项将与 ToolStrip 的右侧对齐。If the value of RightToLeft is Yes, items marked as Left are aligned to the right side of the ToolStrip.

Right Right Right Right 1

根据 ToolStripItem 方向指定 ToolStrip 将锚定到 ToolStrip 的右端或底端。Specifies that the ToolStripItem is to be anchored toward the right or bottom end of the ToolStrip, depending on the ToolStrip orientation. 如果 RightToLeft 的值为 Yes,则标记为 Right 的项将与 ToolStrip 的左侧对齐。If the value of RightToLeft is Yes, items marked as Right are aligned to the left side of the ToolStrip.

适用于

另请参阅