private void OpenStyleDialog() { var formatDialog = new FormatDialog(); formatDialog.DataContext = Format; formatDialog.ShowDialog(); }
private void OpenFormatDialog() { var formatDialog = new FormatDialog { DataContext = Format }; formatDialog.ShowDialog(); }