ToolStripItem.RightToLeftAutoMirrorImage ToolStripItem.RightToLeftAutoMirrorImage ToolStripItem.RightToLeftAutoMirrorImage ToolStripItem.RightToLeftAutoMirrorImage Property

定义

ToolStripItem 属性设置为 RightToLeft 时,将自动镜像 Yes 图像。Mirrors automatically the ToolStripItem image when the RightToLeft property is set to Yes.

public:
 property bool RightToLeftAutoMirrorImage { bool get(); void set(bool value); };
public bool RightToLeftAutoMirrorImage { get; set; }
member this.RightToLeftAutoMirrorImage : bool with get, set
Public Property RightToLeftAutoMirrorImage As Boolean

属性值

如果自动镜像图像,为 true;否则为 falsetrue to automatically mirror the image; otherwise, false. 默认值为 falseThe default is false.

示例

下面的代码示例演示了用于设置公共ToolStripItem属性的语法, RightToLeftAutoMirrorImage包括属性。The following code example demonstrates the syntax for setting common ToolStripItem properties, including the RightToLeftAutoMirrorImage property.

// 
toolStripStatusLabel1.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
            | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
            | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
toolStripStatusLabel1.BorderStyle = System.Windows.Forms.Border3DStyle.Raised;
toolStripStatusLabel1.IsLink = true;
toolStripStatusLabel1.Name = "toolStripStatusLabel1";
toolStripStatusLabel1.Size = new System.Drawing.Size(246, 20);
toolStripStatusLabel1.Spring = true;
toolStripStatusLabel1.Text = "toolStripStatusLabel1";
toolStripStatusLabel1.Alignment = ToolStripItemAlignment.Left;
' 
toolStripStatusLabel1.BorderSides = CType(System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom, System.Windows.Forms.ToolStripStatusLabelBorderSides)
toolStripStatusLabel1.BorderStyle = System.Windows.Forms.Border3DStyle.Raised
toolStripStatusLabel1.IsLink = True
toolStripStatusLabel1.Name = "toolStripStatusLabel1"
toolStripStatusLabel1.Size = New System.Drawing.Size(246, 20)
toolStripStatusLabel1.Spring = True
toolStripStatusLabel1.Text = "toolStripStatusLabel1"
toolStripStatusLabel1.Alignment = ToolStripItemAlignment.Left

适用于