ToolStripItem.DefaultPadding ToolStripItem.DefaultPadding ToolStripItem.DefaultPadding ToolStripItem.DefaultPadding Property

定义

获取项的内部间距特征。Gets the internal spacing characteristics of the item.

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

属性值

Padding 值之一。One of the Padding values.

注解

您可以重写DefaultPadding属性以配置的默认大小。 ToolStripItemYou can override the DefaultPadding property to configure a default size for a ToolStripItem. 这比在的ToolStripItem构造函数中设置大小更有效。This is more efficient than setting the size in the constructor of the ToolStripItem.

适用于