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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.