StatusStrip::SizingGrip Property

 

Gets or sets a value indicating whether a sizing handle (grip) is displayed in the lower-right corner of the control.

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

public:
property bool SizingGrip {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if a grip is displayed; otherwise, false. The default is true.

You can use the SizingGrip property to display a grip to provide an indication to the user of when a StatusStrip is resizable.

Even with the SizingGrip property set to true and the GripStyle property set to Visible, the sizing grip will not be displayed unless you also set the LayoutStyle property to one of the overflow values. If the LayoutStyle property is set to Flow or Table, the sizing grip will not be displayed.

The following code example demonstrates a StatusStrip with various common properties set, including the SizingGrip property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: