This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows.Controls;
namespace DatabaseExport
{
public class TabPageItem : TabPageCommon
{
public UserControl Content { get; set; } = null;
}
public class TabPageItemGroup : TabPageCommon
{
public ObservableCollection<TabPageItem> Items { get; } = new ObservableCollection<TabPageItem>();
}
public class TabPageSource
{
private static TabPageSource _source = new TabPageSource();
public ObservableCollection<TabPageItemGroup> AllGroups { get; } = new ObservableCollection<TabPageItemGroup>();
public static IEnumerable<TabPageItemGroup> GetGroups(string uniqueid)
{
if (!uniqueid.Equals("AllGroups")) throw new ArgumentException("Only 'AllGroups' is supported as a collection of groups");
return _source.AllGroups;
}
}
}