1 type derived from TabControl
System.Windows.Forms.Design (1)
System\Drawing\Design\ColorEditor.ColorUI.ColorEditorTabControl.cs (1)
12private sealed class ColorEditorTabControl : TabControl
1 instantiation of TabControl
PresentationUI (1)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
39this._tabControl = new System.Windows.Forms.TabControl();
71 references to TabControl
PresentationUI (1)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
803private System.Windows.Forms.TabControl _tabControl;
System.Windows.Forms (43)
System\Windows\Forms\Control.cs (1)
10950if (this is TabControl || GetType() == typeof(Control))
System\Windows\Forms\Controls\TabControl\TabControl.ControlCollection.cs (2)
12private readonly TabControl _owner; 14public ControlCollection(TabControl owner) : base(owner)
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
1979if (IsAccessibilityObjectCreated && SelectedTab?.ParentInternal is TabControl) 1984if (IsAccessibilityObjectCreated && SelectedTab?.ParentInternal is TabControl &&
System\Windows\Forms\Controls\TabControl\TabControl.TabControlAccessibleObject.cs (8)
14public TabControlAccessibleObject(TabControl owningTabControl) : base(owningTabControl) 22if (!this.IsOwnerHandleCreated(out TabControl? _)) 46if (!this.IsOwnerHandleCreated(out TabControl? owner) 63if (!this.IsOwnerHandleCreated(out TabControl? owner)) 85if (!this.IsOwnerHandleCreated(out TabControl? owner)) 113if (!this.IsOwnerHandleCreated(out TabControl? owner)) 131UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId => (VARIANT)(this.TryGetOwnerAs(out TabControl? owner) && owner.Focused), 140=> !this.IsOwnerHandleCreated(out TabControl? owner) || owner.SelectedTab is null
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (2)
13private readonly TabControl _owner; 21public TabPageCollection(TabControl owner)
System\Windows\Forms\Controls\TabControl\TabControlCancelEventArgs.cs (2)
9/// Provides data for the <see cref="TabControl.OnDeselecting"/>, 10/// <see cref="TabControl.OnDeselected"/> event.
System\Windows\Forms\Controls\TabControl\TabControlCancelEventHandler.cs (3)
7/// Represents a method that handles the <see cref="TabControl.Deselected"/> and 8/// <see cref="TabControl.Deselecting"/> events of a <see cref="TabControl"/>.
System\Windows\Forms\Controls\TabControl\TabControlEventArgs.cs (2)
7/// Provides data for <see cref="TabControl.Selecting"/> and <see cref="TabControl.Selected"/> events.
System\Windows\Forms\Controls\TabControl\TabControlEventHandler.cs (3)
7/// Represents a method that handles the <see cref="TabControl.Selected"/> and 8/// <see cref="TabControl.Selecting"/> events of a <see cref="TabControl"/>.
System\Windows\Forms\Controls\TabControl\TabPage.cs (13)
50=> ParentInternal is TabControl tabControl && tabControl.ShowToolTips; 108&& (ParentInternal is TabControl parent && parent.Appearance == TabAppearance.Normal)) 168if (ParentInternal is not TabControl tabControl) 196if (ParentInternal is not TabControl tabControl) 239if (ParentInternal is TabControl parent) 267if (ParentInternal is TabControl parent) 491if (value is not null and not TabControl) 527if (ParentInternal is TabControl tabControl && tabControl.SelectedIndex >= 0) 565if (ParentInternal is TabControl) 588if (ParentInternal is TabControl) 609&& (ParentInternal is TabControl parent && parent.Appearance == TabAppearance.Normal)) 734if (parent is TabControl && parent.IsHandleCreated) 761if (ParentInternal is TabControl parent)
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (2)
55private TabControl? OwningTabControl => _owningTabPage.ParentInternal as TabControl;
System\Windows\Forms\Controls\TabControl\TabPage.TabPageAccessibleObject.cs (2)
23private TabControl? OwningTabControl => 24this.TryGetOwnerAs(out TabPage? owningTabPage) ? owningTabPage.ParentInternal as TabControl : null;
System\Windows\Forms\ToolTip\ToolTip.cs (1)
824if (control is TabControl)
System.Windows.Forms.Design (27)
System\Windows\Forms\Design\TabControlDesigner.cs (21)
103TabControl tc = (TabControl)Component; 119TabControl tc = ((TabControl)Control); 147if (HasComponent && Control is TabControl tabControl) 161TabControl tc = ((TabControl)Control); 176internal static TabPage GetTabPageOfComponent(TabControl parent, object comp) 203TabControl control = component as TabControl; 223TabControl tc = (TabControl)Component; 306TabControl tc = (TabControl)Component; 391TabControl tabControl = (TabControl)Component; 423TabControl tabControl = (TabControl)Component; 468TabPage selectedTab = ((TabControl)Component).SelectedTab; 555TabControl tc = ((TabControl)Control);
System\Windows\Forms\Design\TabPageCollectionEditor.cs (4)
9/// Collection editor for <see cref="TabControl.TabPageCollection"/>. 15: base(typeof(TabControl.TabPageCollection)) 24var tabControl = Context?.Instance as TabControl;
System\Windows\Forms\Design\TabPageDesigner.cs (2)
12public override bool CanBeParentedTo(IDesigner parentDesigner) => (parentDesigner is not null && parentDesigner.Component is TabControl); 21if (ctl is not null && ctl.Parent is TabControl)