protected override string GetNameCore() { TabGroupControl tabGroupControl = this.Owner as TabGroupControl; if (tabGroupControl != null) { View view = tabGroupControl.SelectedItem as View; if (view != null && view.Title != null) { return(view.Title.ToString()); } } return(base.GetNameCore()); }
internal TabGroupContainerAutomationPeer(TabGroupControl owner) : base((FrameworkElement)owner) { }
internal TabGroupControlAutomationPeer(TabGroupControl owner) : base((TabControl)owner) { }