Returns an array of strings specifying all supported fonts. These fonts depend on the formatting device set with the WPF.
public string[] GetFontFamilies()
Public Function GetFontFamilies() As String()
The return value is the list of available fonts.
The following examples in CSharp, VBNET and XAML show how to bind a combo box to the Font
private void cbFontFamily_DropDownOpened(object sender, EventArgs e) {
cbFontFamily.ItemsSource = textControl1.InputFormat.GetFontFamilies();
}
Private Sub cbFontFamily_DropDownOpened(sender As Object, e As EventArgs)
cbFontFamily.ItemsSource = TextControl1.InputFormat.GetFontFamilies()
End Sub