편집

다음을 통해 공유


MenuStrip.DefaultPadding Property

Definition

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.

Applies to