ToolStrip.GripRectangle 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 the boundaries of the ToolStrip move handle.

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

[BrowsableAttribute(false)]
public Rectangle GripRectangle { get; }

Property Value

Type: System.Drawing.Rectangle

An object of type System.Drawing.Rectangle, representing the move handle boundaries. If the boundaries are not visible, the GripRectangle property returns Empty.

Use the GripRectangle property to get boundaries for painting, hit testing, and so on.

.NET Framework
Available since 2.0
Return to top
Show: