ToolStripItem.Font 屬性

定義

取得或設定項目顯示之文字字型。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.

備註

使用 [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.

適用於