ToolStripDropDownMenu.MaxItemSize Property


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

Gets the maximum height and width, in pixels, of the ContextMenuStrip.

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

protected internal override Size MaxItemSize { get; }

Property Value

Type: System.Drawing.Size

A Size object representing the height and width of the control, in pixels.

.NET Framework
Available since 2.0
Return to top