ToolStripComboBox.DefaultMargin 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 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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.