ToolStrip.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 internal spacing, in pixels, of the contents of a ToolStrip.
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 value of (0, 0, 1, 0)
.
Remarks
By default, the contents of the ToolStrip are padded one pixel from the right edge of the ToolStrip to prevent the right border from painting over a ToolStripItem that is right-aligned.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.