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.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.