ToolStripItem.Font Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.