6 instantiations of TabItem
PresentationFramework (3)
System\Windows\Controls\TabControl.cs (1)
473return new TabItem();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10786DefaultConstructor = delegate () { return new System.Windows.Controls.TabItem(); },
System\Windows\Markup\KnownTypes.cs (1)
1573case KnownElements.TabItem: o = new System.Windows.Controls.TabItem(); break;
Roslyn.VisualStudio.DiagnosticsWindow (3)
DiagnosticsWindow.cs (3)
39var perfMarginPanel = new TabItem() 45var telemetryPanel = new TabItem() 51var workspacePanel = new TabItem()
66 references to TabItem
Microsoft.VisualStudio.LanguageServices (12)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\SettingsEditorControl.g.cs (8)
52internal System.Windows.Controls.TabItem WhitespaceTab; 60internal System.Windows.Controls.TabItem CodeStyleTab; 68internal System.Windows.Controls.TabItem NamingStyleTab; 76internal System.Windows.Controls.TabItem AnalyzersTab; 178this.WhitespaceTab = ((System.Windows.Controls.TabItem)(target)); 181this.CodeStyleTab = ((System.Windows.Controls.TabItem)(target)); 184this.NamingStyleTab = ((System.Windows.Controls.TabItem)(target)); 187this.AnalyzersTab = ((System.Windows.Controls.TabItem)(target));
EditorConfigSettings\SettingsEditorControl.xaml.cs (4)
124var previousTabItem = e.RemovedItems.Count > 0 ? e.RemovedItems[0] as TabItem : null; 125var selectedTabItem = e.AddedItems.Count > 0 ? e.AddedItems[0] as TabItem : null;
PresentationFramework (51)
System\Windows\Automation\Peers\TabItemAutomationPeer.cs (6)
37TabItem tabItem = GetWrapper() as TabItem; 55TabItem tabItem = GetWrapper() as TabItem; 85TabItem tabItem = GetWrapper() as TabItem;
System\Windows\Automation\Peers\TabItemWrapperAutomationPeer.cs (1)
12public TabItemWrapperAutomationPeer(TabItem owner): base(owner)
System\Windows\Controls\TabControl.cs (20)
26[StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(TabItem))] 81TabItem ti = tc.ItemContainerGenerator.ContainerFromIndex(i) as TabItem; 82ti?.CoerceValue(TabItem.TabStripPlacementProperty); 341TabItem item = GetSelectedTabItem(); 356TabItem item = GetSelectedTabItem(); 385TabItem nextTabItem = FindNextTabItem(startIndex, -1); 386nextTabItem?.SetCurrentValueInternal(TabItem.IsSelectedProperty, MS.Internal.KnownBoxes.BooleanBoxes.TrueBox); 396TabItem nextTabItem = null; 437private TabItem FindNextTabItem(int startIndex, int direction) 439TabItem nextTabItem = null; 451TabItem tabItem = ItemContainerGenerator.ContainerFromIndex(index) as TabItem; 467return (item is TabItem); 501private TabItem GetSelectedTabItem() 507TabItem tabItem = selectedItem as TabItem; 511tabItem = ItemContainerGenerator.ContainerFromIndex(SelectedIndex) as TabItem; 519tabItem = ItemContainerGenerator.ContainerFromItem(selectedItem) as TabItem; 542TabItem tabItem = GetSelectedTabItem();
System\Windows\Controls\TabItem.cs (18)
47EventManager.RegisterClassHandler(typeof(TabItem), AccessKeyManager.AccessKeyPressedEvent, new AccessKeyPressedEventHandler(OnAccessKeyPressed)); 49DefaultStyleKeyProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(typeof(TabItem))); 50_dType = DependencyObjectType.FromSystemTypeInternal(typeof(TabItem)); 51KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 52KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 54IsEnabledProperty.OverrideMetadata(typeof(TabItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 55IsMouseOverPropertyKey.OverrideMetadata(typeof(TabItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 56AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 72Selector.IsSelectedProperty.AddOwner(typeof(TabItem), 89TabItem tabItem = d as TabItem; 170typeof(TabItem), 184TabControl tabControl = ((TabItem)d).TabControlParent; 459TabItem tabItem = sender as TabItem; 479TabItem currentFocus = Keyboard.FocusedElement as TabItem;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
717case 624: t = () => typeof(TabItem); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6186Type type = typeof(System.Windows.Controls.TabItem); 6187DependencyProperty dp = System.Windows.Controls.TabItem.ContentProperty; 6189this.GetXamlType(typeof(System.Windows.Controls.TabItem)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10783typeof(System.Windows.Controls.TabItem),
System\Windows\Markup\KnownTypes.cs (1)
6171case KnownElements.TabItem: t = typeof(System.Windows.Controls.TabItem); break;
Roslyn.VisualStudio.DiagnosticsWindow (3)
DiagnosticsWindow.cs (3)
39var perfMarginPanel = new TabItem() 45var telemetryPanel = new TabItem() 51var workspacePanel = new TabItem()