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

Font 所顯示的文字所要套用的 ToolStripItemThe Font to apply to the text displayed by the ToolStripItem. 預設值為 DefaultFont 屬性的值。The default is the value of the DefaultFont property.

備註

Font 可以使用屬性來取得或設定在中繪製和文字預設將使用的字型 ToolStripItemUse the Font property to get or set the font that will be used by default for painting and text in the ToolStripItem.

適用於