[]
Gets or sets the font of the FieldInfo object.
public Font Font { get; set; }
Public Property Font As Font
Type | Description |
---|---|
Font | A Font object that indicates the font of the FieldInfo object. |
The Font property is an ambient property. An ambient property is a control property that, if not set, is retrieved from the parent control. For example, a Button will have the same BackColor as its parent Form by default.
Because the Font is immutable (meaning that you cannot adjust any of its properties), you can only assign the Font property a new Font. You can base the new font on an existing font.