FontData

FontData class

Represents a font definition. Immutable.

public sealed class FontData : IFontData

Constructors

Name Description
FontData(string) Creates a new FontData object with the specified font name.

Properties

Name Description
FontName { get; } Returns the font name. Read/write String.

Methods

Name Description
override Equals(object) Determines whether two FontData instances are equal.
GetFontName(IThemeEffectiveData) Returns the font name, replacing theme referrence with an actual font used.
override GetHashCode() Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
override ToString() Returns string representation.

See Also