protected override void OnFontChanged(EventArgs e) { base.OnFontChanged(e); Editor.FontSize = FontSizeConverter.GetWpfFontSize(Font.Size); AdjustRects(false); }