FontData

FontData class

Represents a font definition. Immutable.

public sealed class FontData : IFontData

Constructors

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

Properties

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

Methods

NameDescription
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