MenuStrip.DefaultPadding Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the spacing, in pixels, between the left, right, top, and bottom edges of the MenuStrip from the edges of the form.
protected:
virtual property System::Windows::Forms::Padding DefaultPadding { System::Windows::Forms::Padding get(); };
protected override System.Windows.Forms.Padding DefaultPadding { get; }
member this.DefaultPadding : System.Windows.Forms.Padding
Protected Overrides ReadOnly Property DefaultPadding As Padding
Property Value
A Padding that represents the spacing. The default is {Left=6, Top=2, Right=0, Bottom=2}
.
Remarks
Use the DefaultPadding property to set the interior space between controls. When a control is a container of items, padding represents the space from the edge of the container.