6 instantiations of TabItem
PresentationFramework (3)
System\Windows\Controls\TabControl.cs (1)
483
return new
TabItem
();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10787
DefaultConstructor = delegate () { return new System.Windows.Controls.
TabItem
(); },
System\Windows\Markup\KnownTypes.cs (1)
1574
case KnownElements.TabItem: o = new System.Windows.Controls.
TabItem
(); break;
Roslyn.VisualStudio.DiagnosticsWindow (3)
DiagnosticsWindow.cs (3)
39
var perfMarginPanel = new
TabItem
()
45
var telemetryPanel = new
TabItem
()
51
var workspacePanel = new
TabItem
()
66 references to TabItem
Microsoft.VisualStudio.LanguageServices (12)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\SettingsEditorControl.g.cs (8)
52
internal System.Windows.Controls.
TabItem
WhitespaceTab;
60
internal System.Windows.Controls.
TabItem
CodeStyleTab;
68
internal System.Windows.Controls.
TabItem
NamingStyleTab;
76
internal System.Windows.Controls.
TabItem
AnalyzersTab;
178
this.WhitespaceTab = ((System.Windows.Controls.
TabItem
)(target));
181
this.CodeStyleTab = ((System.Windows.Controls.
TabItem
)(target));
184
this.NamingStyleTab = ((System.Windows.Controls.
TabItem
)(target));
187
this.AnalyzersTab = ((System.Windows.Controls.
TabItem
)(target));
EditorConfigSettings\SettingsEditorControl.xaml.cs (4)
124
var
previousTabItem = e.RemovedItems.Count > 0 ? e.RemovedItems[0] as
TabItem
: null;
125
var
selectedTabItem = e.AddedItems.Count > 0 ? e.AddedItems[0] as
TabItem
: null;
PresentationFramework (51)
System\Windows\Automation\Peers\TabItemAutomationPeer.cs (6)
38
TabItem
tabItem = GetWrapper() as
TabItem
;
56
TabItem
tabItem = GetWrapper() as
TabItem
;
86
TabItem
tabItem = GetWrapper() as
TabItem
;
System\Windows\Automation\Peers\TabItemWrapperAutomationPeer.cs (1)
13
public TabItemWrapperAutomationPeer(
TabItem
owner): base(owner)
System\Windows\Controls\TabControl.cs (20)
27
[StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(
TabItem
))]
82
TabItem
ti = tc.ItemContainerGenerator.ContainerFromIndex(i) as
TabItem
;
84
ti.CoerceValue(
TabItem
.TabStripPlacementProperty);
343
TabItem
item = GetSelectedTabItem();
361
TabItem
item = GetSelectedTabItem();
394
TabItem
nextTabItem = FindNextTabItem(startIndex, -1);
396
nextTabItem.SetCurrentValueInternal(
TabItem
.IsSelectedProperty, MS.Internal.KnownBoxes.BooleanBoxes.TrueBox);
406
TabItem
nextTabItem = null;
447
private
TabItem
FindNextTabItem(int startIndex, int direction)
449
TabItem
nextTabItem = null;
461
TabItem
tabItem = ItemContainerGenerator.ContainerFromIndex(index) as
TabItem
;
477
return (item is
TabItem
);
511
private
TabItem
GetSelectedTabItem()
517
TabItem
tabItem = selectedItem as
TabItem
;
521
tabItem = ItemContainerGenerator.ContainerFromIndex(SelectedIndex) as
TabItem
;
529
tabItem = ItemContainerGenerator.ContainerFromItem(selectedItem) as
TabItem
;
552
TabItem
tabItem = GetSelectedTabItem();
System\Windows\Controls\TabItem.cs (18)
48
EventManager.RegisterClassHandler(typeof(
TabItem
), AccessKeyManager.AccessKeyPressedEvent, new AccessKeyPressedEventHandler(OnAccessKeyPressed));
50
DefaultStyleKeyProperty.OverrideMetadata(typeof(
TabItem
), new FrameworkPropertyMetadata(typeof(
TabItem
)));
51
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
TabItem
));
52
KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(
TabItem
), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
53
KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(
TabItem
), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
55
IsEnabledProperty.OverrideMetadata(typeof(
TabItem
), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
56
IsMouseOverPropertyKey.OverrideMetadata(typeof(
TabItem
), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
57
AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(
TabItem
), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
73
Selector.IsSelectedProperty.AddOwner(typeof(
TabItem
),
90
TabItem
tabItem = d as
TabItem
;
174
typeof(
TabItem
),
188
TabControl tabControl = ((
TabItem
)d).TabControlParent;
463
TabItem
tabItem = sender as
TabItem
;
483
TabItem
currentFocus = Keyboard.FocusedElement as
TabItem
;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
718
case 624: t = () => typeof(
TabItem
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6187
Type type = typeof(System.Windows.Controls.
TabItem
);
6188
DependencyProperty dp = System.Windows.Controls.
TabItem
.ContentProperty;
6190
this.GetXamlType(typeof(System.Windows.Controls.
TabItem
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10784
typeof(System.Windows.Controls.
TabItem
),
System\Windows\Markup\KnownTypes.cs (1)
6172
case KnownElements.TabItem: t = typeof(System.Windows.Controls.
TabItem
); break;
Roslyn.VisualStudio.DiagnosticsWindow (3)
DiagnosticsWindow.cs (3)
39
var
perfMarginPanel = new TabItem()
45
var
telemetryPanel = new TabItem()
51
var
workspacePanel = new TabItem()