Browse Source

Small tweak

Kenric Nugteren 1 year ago
parent
commit
261c34e82b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      inabox.wpf/DynamicGrid/DynamicGridColumns.cs

+ 2 - 1
inabox.wpf/DynamicGrid/DynamicGridColumns.cs

@@ -79,9 +79,10 @@ public class DynamicGridColumnGrouping
 {
     public List<DynamicGridColumnGroup> Groups = new();
 
-    public void AddGroup(string header, DynamicColumnBase start, DynamicColumnBase end)
+    public DynamicGridColumnGrouping AddGroup(string header, DynamicColumnBase start, DynamicColumnBase end)
     {
         Groups.Add(new(header, start, end));
+        return this;
     }
 }