コード例 #1
0
 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();
 }
コード例 #2
0
        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();
        }