ToolStrip::GripMargin Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the space around the ToolStrip move handle.

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

public:
property Padding GripMargin {
	Padding get();
	void set(Padding value);
}

Property Value

Type: System.Windows.Forms::Padding

A Padding, which represents the spacing.

Use the GripMargin property to get or set the space around the ToolStrip move handle. Because System.Windows.Forms::Padding can take individual values for Top, Bottom, Left, and Right, you can adjust the space around the move handle as preferred. The margin can even be off the edge of the ToolStrip.

The following code example demonstrates the syntax for setting common ToolStrip properties, including the GripMargin property.

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

.NET Framework
Available since 2.0
Return to top
Show: