Edit

Share via


MenuStrip.DefaultSize Property

Definition

Gets the horizontal and vertical dimensions, in pixels, of the MenuStrip when it is first created.

protected:
 virtual property System::Drawing::Size DefaultSize { System::Drawing::Size get(); };
protected override System.Drawing.Size DefaultSize { get; }
member this.DefaultSize : System.Drawing.Size
Protected Overrides ReadOnly Property DefaultSize As Size

Property Value

A Point(Size) value representing the MenuStrip horizontal and vertical dimensions, in pixels. The default is 200 x 21 pixels.

Applies to