3 instantiations of TabItem
PresentationFramework (3)
src\Framework\System\Windows\Controls\TabControl.cs (1)
494return new TabItem();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9724bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.TabItem(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1581case KnownElements.TabItem: o = new System.Windows.Controls.TabItem(); break;
51 references to TabItem
PresentationFramework (51)
src\Framework\System\Windows\Automation\Peers\TabItemAutomationPeer.cs (6)
46TabItem tabItem = GetWrapper() as TabItem; 64TabItem tabItem = GetWrapper() as TabItem; 94TabItem tabItem = GetWrapper() as TabItem;
src\Framework\System\Windows\Automation\Peers\TabItemWrapperAutomationPeer.cs (1)
12public TabItemWrapperAutomationPeer(TabItem owner): base(owner)
src\Framework\System\Windows\Controls\TabControl.cs (20)
38[StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(TabItem))] 93TabItem ti = tc.ItemContainerGenerator.ContainerFromIndex(i) as TabItem; 95ti.CoerceValue(TabItem.TabStripPlacementProperty); 354TabItem item = GetSelectedTabItem(); 372TabItem item = GetSelectedTabItem(); 405TabItem nextTabItem = FindNextTabItem(startIndex, -1); 407nextTabItem.SetCurrentValueInternal(TabItem.IsSelectedProperty, MS.Internal.KnownBoxes.BooleanBoxes.TrueBox); 417TabItem nextTabItem = null; 458private TabItem FindNextTabItem(int startIndex, int direction) 460TabItem nextTabItem = null; 472TabItem tabItem = ItemContainerGenerator.ContainerFromIndex(index) as TabItem; 488return (item is TabItem); 522private TabItem GetSelectedTabItem() 528TabItem tabItem = selectedItem as TabItem; 532tabItem = ItemContainerGenerator.ContainerFromIndex(SelectedIndex) as TabItem; 540tabItem = ItemContainerGenerator.ContainerFromItem(selectedItem) as TabItem; 563TabItem tabItem = GetSelectedTabItem();
src\Framework\System\Windows\Controls\TabItem.cs (18)
55EventManager.RegisterClassHandler(typeof(TabItem), AccessKeyManager.AccessKeyPressedEvent, new AccessKeyPressedEventHandler(OnAccessKeyPressed)); 57DefaultStyleKeyProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(typeof(TabItem))); 58_dType = DependencyObjectType.FromSystemTypeInternal(typeof(TabItem)); 59KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 60KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 62IsEnabledProperty.OverrideMetadata(typeof(TabItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 63IsMouseOverPropertyKey.OverrideMetadata(typeof(TabItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 64AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 80Selector.IsSelectedProperty.AddOwner(typeof(TabItem), 97TabItem tabItem = d as TabItem; 179typeof(TabItem), 193TabControl tabControl = ((TabItem)d).TabControlParent; 453TabItem tabItem = sender as TabItem; 473TabItem currentFocus = Keyboard.FocusedElement as TabItem;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
716case 624: t = () => typeof(TabItem); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5747Type type = typeof(System.Windows.Controls.TabItem); 5748DependencyProperty dp = System.Windows.Controls.TabItem.ContentProperty; 5750this.GetXamlType(typeof(System.Windows.Controls.TabItem)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9722typeof(System.Windows.Controls.TabItem),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6168case KnownElements.TabItem: t = typeof(System.Windows.Controls.TabItem); break;