Bearbeiten

Freigeben über


ToolStrip.DefaultPadding Property

Definition

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