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)
21private protected override string AutomationId => _owningTabPage.Name; 51public override string? Name => _owningTabPage.Text; 55private TabControl? OwningTabControl => _owningTabPage.ParentInternal as TabControl; 63internal override bool IsItemSelected => OwningTabControl?.SelectedTab == _owningTabPage; 76private int CurrentIndex => OwningTabControl?.TabPages.IndexOf(_owningTabPage) ?? -1; 85OwningTabControl.SelectedTab = _owningTabPage;