/// <summary> /// Initializes a new instance of the <see cref="ChooseFont"/> class. /// </summary> public ChooseFont(FontInfo fontInfo) { InitializeComponent(); FontInfo = fontInfo.Clone() as FontInfo; FontInfo.PropertyChanged += FontInfo_PropertyChanged; DataContext = FontInfo; }