ToolStripItem.DefaultMargin Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the default margin of an item.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected internal virtual Padding DefaultMargin { get; }

Property Value

Type: System.Windows.Forms.Padding

A Padding representing the margin.

Override the DefaultMargin property to configure a default margin for a ToolStripItem.

.NET Framework
Available since 2.0
Return to top