public void Initialize() { foreach (var name in config.ItemGroups) { var group = DockItemGroup.FromName(name); AddGroup(group); } }
private void AddGroup(DockItemGroup group) { itemGroups.AddGroup(group); if (group != null) { group.ItemsChanged += GroupOnItemsChanged; } }
public void InsertGroup(DockItemGroup group, int index) { groups.Insert(index, group); }
public void AddGroup(DockItemGroup group) { groups.Add(group); }