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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.