1 write to _owningTabPage
System.Windows.Forms (1)
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (1)
18
_owningTabPage
= owningTabPage.OrThrowIfNull();
6 references to _owningTabPage
System.Windows.Forms (6)
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (6)
21
private protected override string AutomationId =>
_owningTabPage
.Name;
51
public override string? Name =>
_owningTabPage
.Text;
55
private TabControl? OwningTabControl =>
_owningTabPage
.ParentInternal as TabControl;
63
internal override bool IsItemSelected => OwningTabControl?.SelectedTab ==
_owningTabPage
;
76
private int CurrentIndex => OwningTabControl?.TabPages.IndexOf(
_owningTabPage
) ?? -1;
85
OwningTabControl.SelectedTab =
_owningTabPage
;