ToolStripItem.DefaultMargin Property


Gets the default margin of an item.

protected public:
 virtual property System::Windows::Forms::Padding DefaultMargin { System::Windows::Forms::Padding get(); };
protected internal virtual System.Windows.Forms.Padding DefaultMargin { get; }
member this.DefaultMargin : System.Windows.Forms.Padding
Protected Friend Overridable ReadOnly Property DefaultMargin As Padding

Property Value

A Padding representing the margin.


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

Applies to