ToolStrip.GripStyle Property

Definition

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

public:
 property System::Windows::Forms::ToolStripGripStyle GripStyle { System::Windows::Forms::ToolStripGripStyle get(); void set(System::Windows::Forms::ToolStripGripStyle value); };
public System.Windows.Forms.ToolStripGripStyle GripStyle { get; set; }
member this.GripStyle : System.Windows.Forms.ToolStripGripStyle with get, set
Public Property GripStyle As ToolStripGripStyle

Property Value

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

Exceptions

The specified value is not one of the ToolStripGripStyle values.

Remarks

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

Applies to