DefaultSize Property

MenuStrip.DefaultSize Property

 

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

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

protected override Size DefaultSize { get; }

Property Value

Type: System.Drawing.Size

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft