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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.