public static void Show(ColumnsModel columns, string context, Func<IList<string>> bindingSuggestions, Func<IList<ColumnDefinition>> automaticColumnsFetcher) { var dialog = new ColumnsEditorDialog() { DataContext = new ColumnsEditorDialogViewModel(columns, context, bindingSuggestions, automaticColumnsFetcher) }; dialog.Show(); }
public static void Show(ColumnsModel columns, string context, Func <IList <string> > bindingSuggestions, Func <IList <ColumnDefinition> > automaticColumnsFetcher) { var dialog = new ColumnsEditorDialog { DataContext = new ColumnsEditorDialogViewModel(columns, context, bindingSuggestions, automaticColumnsFetcher) }; dialog.Show(); }