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