ToolStrip.DisplayRectangle Property


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

This API supports the product infrastructure and is not intended to be used directly from your code.

Retrieves the current display rectangle.

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

public override Rectangle DisplayRectangle { get; }

Property Value

Type: System.Drawing.Rectangle

A System.Drawing.Rectangle representing the ToolStrip area for item layout.

The display rectangle is the area where you lay out items. The position and dimensions of the ToolStrip display rectangle change during automatic scrolling.

.NET Framework
Available since 2.0
Return to top