ToolStripItem.Font Property


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

 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

Property Value


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


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

Applies to