Represents the installed Font collection. This control allows both navigation and selection of Font Families.

Constructors

GH_FontList

#
public GH_FontList()

Properties

DisplayText

#
public string DisplayText { get; set; }
Gets or sets the placeholder string.

Filter

#
public string Filter { get; set; }
Gets or sets the filter string. You must call RecreateFontList() before the new font list is created.

FontFamily

#
public FontFamily FontFamily { get; set; }
Gets or sets the selected font family.

FontSize

#
public float FontSize { get; set; }
Gets or sets the font size.

FontStyle

#
public FontStyle FontStyle { get; set; }
Gets or sets the font style for all families.

Methods

CreateFont

#
public Font CreateFont()
Create a font that best approximates the current settings.

OnPaint

#
protected override void OnPaint(PaintEventArgs e)
e (PaintEventArgs)
Control.OnPaint

OnPaintBackground

#
protected override void OnPaintBackground(PaintEventArgs e)

RecreateFontList

#
public void RecreateFontList()