ToolStrip.DisplayRectangle Property

Definition

Retrieves the current display rectangle.

public:
 virtual property System::Drawing::Rectangle DisplayRectangle { System::Drawing::Rectangle get(); };
public override System.Drawing.Rectangle DisplayRectangle { get; }
member this.DisplayRectangle : System.Drawing.Rectangle
Public Overrides ReadOnly Property DisplayRectangle As Rectangle

Property Value

A Rectangle representing the ToolStrip area for item layout.

Implements

System.Windows.Forms.Layout.IArrangedElement.DisplayRectangle

Remarks

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

Applies to