A wpf color and font picker based on a project by Alessio Saltarin.
Available on NuGet
usage:
//We can pass a bool to choose if we preview the font directly in the list of fonts.
Bool previewFontInFontList = true;
ColorFontDialog dialog = new ColorFontDialog(previewFontInFontList);
dialog.Font = FontInfo.GetControlFont(MyTextBox);
if (dialog.ShowDialog() == true)
{
FontInfo font = dialog.Font;
if (font != null)
{
FontInfo.ApplyFont(MyTextBox, font);
}
}