6 instantiations of TabItem
PresentationFramework (3)
System\Windows\Controls\TabControl.cs (1)
483return new TabItem();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10787DefaultConstructor = delegate () { return new System.Windows.Controls.TabItem(); },
System\Windows\Markup\KnownTypes.cs (1)
1574case 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)
38TabItem tabItem = GetWrapper() as TabItem; 56TabItem tabItem = GetWrapper() as TabItem; 86TabItem tabItem = GetWrapper() as TabItem;
System\Windows\Automation\Peers\TabItemWrapperAutomationPeer.cs (1)
13public TabItemWrapperAutomationPeer(TabItem owner): base(owner)
System\Windows\Controls\TabControl.cs (20)
27[StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(TabItem))] 82TabItem ti = tc.ItemContainerGenerator.ContainerFromIndex(i) as TabItem; 84ti.CoerceValue(TabItem.TabStripPlacementProperty); 343TabItem item = GetSelectedTabItem(); 361TabItem item = GetSelectedTabItem(); 394TabItem nextTabItem = FindNextTabItem(startIndex, -1); 396nextTabItem.SetCurrentValueInternal(TabItem.IsSelectedProperty, MS.Internal.KnownBoxes.BooleanBoxes.TrueBox); 406TabItem nextTabItem = null; 447private TabItem FindNextTabItem(int startIndex, int direction) 449TabItem nextTabItem = null; 461TabItem tabItem = ItemContainerGenerator.ContainerFromIndex(index) as TabItem; 477return (item is TabItem); 511private TabItem GetSelectedTabItem() 517TabItem tabItem = selectedItem as TabItem; 521tabItem = ItemContainerGenerator.ContainerFromIndex(SelectedIndex) as TabItem; 529tabItem = ItemContainerGenerator.ContainerFromItem(selectedItem) as TabItem; 552TabItem tabItem = GetSelectedTabItem();
System\Windows\Controls\TabItem.cs (18)
48EventManager.RegisterClassHandler(typeof(TabItem), AccessKeyManager.AccessKeyPressedEvent, new AccessKeyPressedEventHandler(OnAccessKeyPressed)); 50DefaultStyleKeyProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(typeof(TabItem))); 51_dType = DependencyObjectType.FromSystemTypeInternal(typeof(TabItem)); 52KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 53KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 55IsEnabledProperty.OverrideMetadata(typeof(TabItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 56IsMouseOverPropertyKey.OverrideMetadata(typeof(TabItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 57AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 73Selector.IsSelectedProperty.AddOwner(typeof(TabItem), 90TabItem tabItem = d as TabItem; 174typeof(TabItem), 188TabControl tabControl = ((TabItem)d).TabControlParent; 463TabItem tabItem = sender as TabItem; 483TabItem currentFocus = Keyboard.FocusedElement as TabItem;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
718case 624: t = () => typeof(TabItem); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6187Type type = typeof(System.Windows.Controls.TabItem); 6188DependencyProperty dp = System.Windows.Controls.TabItem.ContentProperty; 6190this.GetXamlType(typeof(System.Windows.Controls.TabItem)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10784typeof(System.Windows.Controls.TabItem),
System\Windows\Markup\KnownTypes.cs (1)
6172case 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()