ToolStrip::GripStyle Property

 

Gets or sets whether the ToolStrip move handle is visible or hidden.

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

public:
property ToolStripGripStyle GripStyle {
	ToolStripGripStyle get();
	void set(ToolStripGripStyle value);
}

Property Value

Type: System.Windows.Forms::ToolStripGripStyle

One of the ToolStripGripStyle values. The default value is Visible.

Exception Condition
InvalidEnumArgumentException

The specified value is not one of the ToolStripGripStyle values.

In a stack layout, make a ToolStrip movable by putting it in a ToolStripPanel and ensuring that its GripStyle is set to Visible.

.NET Framework
Available since 2.0
Return to top
Show: