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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.