ToolStripComboBox.DefaultMargin Property


Gets the default spacing, in pixels, between the ToolStripComboBox and an adjacent item.

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

protected internal override Padding DefaultMargin { get; }

Property Value

Type: System.Windows.Forms.Padding

A Padding value.

Override the DefaultMargin property to configure a default size for your ToolStripComboBox. This is more efficient than setting the size in the constructor.

.NET Framework
Available since 2.0
Return to top