internal static void SetFont(this TextBlock t, PNFont pnf) { t.FontFamily = pnf.FontFamily; t.FontSize = pnf.FontSize; t.FontStretch = pnf.FontStretch; t.FontStyle = pnf.FontStyle; t.FontWeight = pnf.FontWeight; }
internal WndFontChooser(PNFont font, Color color) : this() { _SelectedFont.FontFamily = font.FontFamily; _SelectedFont.FontSize = font.FontSize; _SelectedFont.FontStretch = font.FontStretch; _SelectedFont.FontStyle = font.FontStyle; _SelectedFont.FontWeight = font.FontWeight; _SelectedColor = color; }
internal WndFontChooser(PNFont font) : this() { _SelectedFont.FontFamily = font.FontFamily; _SelectedFont.FontSize = font.FontSize; _SelectedFont.FontStretch = font.FontStretch; _SelectedFont.FontStyle = font.FontStyle; _SelectedFont.FontWeight = font.FontWeight; grpColors.Visibility = Visibility.Collapsed; }
public void SetPNFont(PNFont font) { this.SetFont(font); }
public void SetPNFont(PNFont font) { //do nothing }