6 instantiations of TabItem
PresentationFramework (3)
System\Windows\Controls\TabControl.cs (1)
493return new TabItem();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9728bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.TabItem(); };
System\Windows\Markup\KnownTypes.cs (1)
1580case 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)
49TabItem tabItem = GetWrapper() as TabItem; 67TabItem tabItem = GetWrapper() as TabItem; 97TabItem tabItem = GetWrapper() as TabItem;
System\Windows\Automation\Peers\TabItemWrapperAutomationPeer.cs (1)
15public TabItemWrapperAutomationPeer(TabItem owner): base(owner)
System\Windows\Controls\TabControl.cs (20)
37[StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(TabItem))] 92TabItem ti = tc.ItemContainerGenerator.ContainerFromIndex(i) as TabItem; 94ti.CoerceValue(TabItem.TabStripPlacementProperty); 353TabItem item = GetSelectedTabItem(); 371TabItem item = GetSelectedTabItem(); 404TabItem nextTabItem = FindNextTabItem(startIndex, -1); 406nextTabItem.SetCurrentValueInternal(TabItem.IsSelectedProperty, MS.Internal.KnownBoxes.BooleanBoxes.TrueBox); 416TabItem nextTabItem = null; 457private TabItem FindNextTabItem(int startIndex, int direction) 459TabItem nextTabItem = null; 471TabItem tabItem = ItemContainerGenerator.ContainerFromIndex(index) as TabItem; 487return (item is TabItem); 521private TabItem GetSelectedTabItem() 527TabItem tabItem = selectedItem as TabItem; 531tabItem = ItemContainerGenerator.ContainerFromIndex(SelectedIndex) as TabItem; 539tabItem = ItemContainerGenerator.ContainerFromItem(selectedItem) as TabItem; 562TabItem tabItem = GetSelectedTabItem();
System\Windows\Controls\TabItem.cs (18)
54EventManager.RegisterClassHandler(typeof(TabItem), AccessKeyManager.AccessKeyPressedEvent, new AccessKeyPressedEventHandler(OnAccessKeyPressed)); 56DefaultStyleKeyProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(typeof(TabItem))); 57_dType = DependencyObjectType.FromSystemTypeInternal(typeof(TabItem)); 58KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 59KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 61IsEnabledProperty.OverrideMetadata(typeof(TabItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 62IsMouseOverPropertyKey.OverrideMetadata(typeof(TabItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 63AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 79Selector.IsSelectedProperty.AddOwner(typeof(TabItem), 96TabItem tabItem = d as TabItem; 178typeof(TabItem), 192TabControl tabControl = ((TabItem)d).TabControlParent; 467TabItem tabItem = sender as TabItem; 487TabItem currentFocus = Keyboard.FocusedElement as TabItem;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
720case 624: t = () => typeof(TabItem); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5789Type type = typeof(System.Windows.Controls.TabItem); 5790DependencyProperty dp = System.Windows.Controls.TabItem.ContentProperty; 5792this.GetXamlType(typeof(System.Windows.Controls.TabItem)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9726typeof(System.Windows.Controls.TabItem),
System\Windows\Markup\KnownTypes.cs (1)
6178case 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()