/// <summary>
        /// Adds a <see cref="TabGroup"/> to the container.
        /// </summary>
        public void AddTabGroup(TabGroup tg)
        {
            //if (tg != null && tg.ComponentHost != null && tg.ComponentHost.IsStarted)
            //    throw new InvalidOperationException(SR.ExceptionCannotSetTabGroupAfterContainerStarted);

            tg.ComponentHost = new TabGroupHost(this, tg);
            _tabGroups.Add(tg);
        }
 internal TabGroupHost(
     TabGroupComponentContainer owner, TabGroup tabGroup)
     : base(owner, tabGroup.Component)
 {
 }