internal void InitializeComponent(ComponentType type) { Type = type; Label = $"{Type.GetName()}-{Guid.NewGuid()}"; if (Type == ComponentType.Tabs) { ChildContainers = new List <ContainerDto>() { new ContainerDto(ContainerType.Tab) { Label = "Tab 1" } }; } }