ToolStripItem.Font ToolStripItem.Font ToolStripItem.Font ToolStripItem.Font Property

定义

获取或设置由该项显示的文本的字体。Gets or sets the font of the text displayed by the item.

public:
 virtual property System::Drawing::Font ^ Font { System::Drawing::Font ^ get(); void set(System::Drawing::Font ^ value); };
public virtual System.Drawing.Font Font { get; set; }
member this.Font : System.Drawing.Font with get, set
Public Overridable Property Font As Font

属性值

要应用于 Font 显示的文本的 ToolStripItemThe Font to apply to the text displayed by the ToolStripItem. 默认为 DefaultFont 属性的值。The default is the value of the DefaultFont property.

注解

使用属性可获取或设置默认情况下用于ToolStripItem中的绘制和文本的字体。 FontUse the Font property to get or set the font that will be used by default for painting and text in the ToolStripItem.

适用于