ToolStripStatusLabel.Alignment 속성

정의

ToolStripStatusLabelStatusStrip에 맞출 위치를 결정하는 값을 가져오거나 설정합니다.

public:
 property System::Windows::Forms::ToolStripItemAlignment Alignment { System::Windows::Forms::ToolStripItemAlignment get(); void set(System::Windows::Forms::ToolStripItemAlignment value); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.ToolStripItemAlignment Alignment { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Alignment : System.Windows.Forms.ToolStripItemAlignment with get, set
Public Property Alignment As ToolStripItemAlignment

속성 값

ToolStripItemAlignment

ToolStripItemAlignment 값 중 하나입니다.

특성

예제

다음 코드 예제에서는 속성을 비롯한 Alignment 다양한 ToolStripStatusLabel 공통 속성의 구문을 보여 줍니다.

// 
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

설명

속성의 Alignment 의미는 속성 설정의 영향을 받습니다 RightToLeft .

적용 대상