AmbientProperties.Font Property

 

Gets or sets the ambient font of an object.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public Font Font { get; set; }

Property Value

Type: System.Drawing.Font

A Font that represents the font used when displaying text within an object.

If there is no ambient font, the value of the Font property is null.

.NET Framework
Available since 1.1
Return to top
Show: