FontFamily Class
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public sealed class FontFamily
Public NotInheritable Class FontFamily
[<SealedAttribute>]
type FontFamily = class end
| Inheritance | Object → FontFamily |
Constructors
| FontFamily(String) | Initializes a new instance of the FontFamily class. |
| FontFamily(Uri, String) | Initializes a new instance of the FontFamily class. |
Properties
| Default | Represents the default font family |
| FamilyNames | Gets the family names. |
| FamilyTypefaces | Gets the typefaces for this font family. |
| Key | Gets the key for associated assets. |
| Name | Gets the primary family name of the font family. |
Methods
| Equals(Object) | (Overrides Object.Equals(Object)) |
| GetHashCode() | Returns a hash code for this instance. (Overrides Object.GetHashCode()) |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| Parse(String) | Parses a FontFamily string. |
| Parse(String, Uri) | Parses a FontFamily string. |
| ToString() | Returns a String that represents this instance. (Overrides Object.ToString()) |
Operators
| Equality(FontFamily, FontFamily) | |
| Implicit(String to FontFamily) | Implicit conversion of string to FontFamily |
| Inequality(FontFamily, FontFamily) |
Fields
| DefaultFontFamilyName |