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