19 references to OwningTabControl
System.Windows.Forms (19)
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (19)
27if (OwningTabControl is null || !OwningTabControl.IsHandleCreated || SystemIAccessibleInternal is null) 61internal override IRawElementProviderFragmentRoot.Interface? FragmentRoot => OwningTabControl?.AccessibilityObject; 63internal override bool IsItemSelected => OwningTabControl?.SelectedTab == _owningTabPage; 65internal override IRawElementProviderSimple.Interface? ItemSelectionContainer => OwningTabControl?.AccessibilityObject; 70OwningTabControl is null 72: (int)OwningTabControl.InternalHandle, 76private int CurrentIndex => OwningTabControl?.TabPages.IndexOf(_owningTabPage) ?? -1; 79=> OwningTabControl?.AccessibilityObject.SystemIAccessible; 83if (OwningTabControl is not null && OwningTabControl.IsHandleCreated && OwningTabControl.Enabled) 85OwningTabControl.SelectedTab = _owningTabPage; 93if (OwningTabControl is null || !OwningTabControl.IsHandleCreated) 100NavigateDirection.NavigateDirection_Parent => OwningTabControl.AccessibilityObject, 101NavigateDirection.NavigateDirection_NextSibling => OwningTabControl.AccessibilityObject.GetChild(GetChildId() + 1), 102NavigateDirection.NavigateDirection_PreviousSibling => OwningTabControl.AccessibilityObject.GetChild(GetChildId() - 1), 123UIA_PROPERTY_ID.UIA_IsEnabledPropertyId => (VARIANT)(OwningTabControl?.Enabled ?? false),