StatusStrip.SizingGrip 속성

정의

컨트롤의 오른쪽 아래 모퉁이에 크기 조정 핸들(그립)이 표시되는지 여부를 나타내는 값을 가져오거나 설정합니다.

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

속성 값

Boolean

그립이 표시되면 true이고, 그렇지 않으면 false입니다. 기본값은 true입니다.

예제

다음 코드 예제에서는 속성을 비롯한 다양한 공통 속성 집합을 SizingGrip 보여 StatusStrip 줍니다.

statusStrip1.Dock = System.Windows.Forms.DockStyle.Top;
statusStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Visible;
statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
toolStripStatusLabel1});
statusStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
statusStrip1.Location = new System.Drawing.Point(0, 0);
statusStrip1.Name = "statusStrip1";
statusStrip1.ShowItemToolTips = true;
statusStrip1.Size = new System.Drawing.Size(292, 22);
statusStrip1.SizingGrip = false;
statusStrip1.Stretch = false;
statusStrip1.TabIndex = 0;
statusStrip1.Text = "statusStrip1";
statusStrip1.Dock = System.Windows.Forms.DockStyle.Top
statusStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Visible
statusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {toolStripStatusLabel1})
statusStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow
statusStrip1.Location = New System.Drawing.Point(0, 0)
statusStrip1.Name = "statusStrip1"
statusStrip1.ShowItemToolTips = True
statusStrip1.Size = New System.Drawing.Size(292, 22)
statusStrip1.SizingGrip = False
statusStrip1.Stretch = False
statusStrip1.TabIndex = 0
statusStrip1.Text = "statusStrip1"

설명

크기를 조정할 수 있는 시기를 사용자에게 표시하기 위해 이 속성을 사용하여 SizingGrip 그립을 StatusStrip 표시할 수 있습니다.

속성이 SizingGrip 설정 true 되고 속성이 GripStyle 설정된 Visible경우에도 속성을 오버플로 값 중 하나로 설정 LayoutStyle 하지 않으면 크기 조정 그립이 표시되지 않습니다. LayoutStyle 속성을 설정 Flow 하거나 Table설정하면 크기 조정 그립이 표시되지 않습니다.

적용 대상