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