Browse Source

Added title to select columns on DynamicGrid

Kenric Nugteren 1 year ago
parent
commit
6fb54ea751
1 changed files with 4 additions and 1 deletions
  1. 4 1
      inabox.wpf/DynamicGrid/DynamicGridColumnsEditor.xaml.cs

+ 4 - 1
inabox.wpf/DynamicGrid/DynamicGridColumnsEditor.xaml.cs

@@ -1,4 +1,5 @@
-using InABox.Wpf;
+using InABox.Core;
+using InABox.Wpf;
 using System;
 using System;
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Windows;
 using System.Windows;
@@ -19,6 +20,8 @@ namespace InABox.DynamicGrid
 
 
             Type = type;
             Type = type;
 
 
+            Title = $"Select Columns for {CoreUtils.Neatify(type.Name)}";
+
             ColumnGrid = new DynamicColumnGrid { Type = type };
             ColumnGrid = new DynamicColumnGrid { Type = type };
             ColumnGrid.SetValue(Grid.ColumnSpanProperty, 3);
             ColumnGrid.SetValue(Grid.ColumnSpanProperty, 3);
             ColumnGrid.Margin = new Thickness(5F, 5F, 5F, 5F);
             ColumnGrid.Margin = new Thickness(5F, 5F, 5F, 5F);