ToolStripItem.DefaultMargin ToolStripItem.DefaultMargin ToolStripItem.DefaultMargin ToolStripItem.DefaultMargin Property

定义

获取项的默认边距。Gets the default margin of an item.

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

属性值

一个表示边距的 PaddingA Padding representing the margin.

注解

ToolStripItem重写DefaultMargin属性以配置的默认边距。Override the DefaultMargin property to configure a default margin for a ToolStripItem.

适用于