Edytuj

Udostępnij za pośrednictwem


ToolStripComboBox.DefaultMargin Property

Definition

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

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

Property Value

A Padding value.

Remarks

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

Applies to