Rediger

Del via


ToolStripItem.Font Property

Definition

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

Property Value

The Font to apply to the text displayed by the ToolStripItem. The default is the value of the DefaultFont property.

Remarks

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