ToolStrip::GripStyle Property
.NET Framework (current version)
Gets or sets whether the ToolStrip move handle is visible or hidden.
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::ToolStripGripStyleOne 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
Available since 2.0
Show: