ToolStrip.GripRectangle Property

 

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: