1 write to _owningTreeNode
System.Windows.Forms (1)
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (1)
19
_owningTreeNode
= owningTreeNode.OrThrowIfNull();
33 references to _owningTreeNode
System.Windows.Forms (33)
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (33)
27
if (!_owningTreeView.IsHandleCreated || !
_owningTreeNode
.IsVisible)
32
return
_owningTreeNode
.RectangleToScreen(
_owningTreeNode
.Bounds);
42
return
_owningTreeNode
.Checked
68
if (
_owningTreeNode
.IsExpanded)
88
=>
_owningTreeNode
.IsEditing
90
:
_owningTreeNode
.IsExpanded
91
?
_owningTreeNode
.FirstNode?.AccessibilityObject
94
=>
_owningTreeNode
.IsExpanded
95
?
_owningTreeNode
.LastNode?.AccessibilityObject
98
=>
_owningTreeNode
.NextNode?.AccessibilityObject,
100
=>
_owningTreeNode
.PrevNode?.AccessibilityObject,
106
_owningTreeView.SelectedNode =
_owningTreeNode
;
116
UIA_PROPERTY_ID.UIA_LevelPropertyId => (VARIANT)(
_owningTreeNode
.Level + 1),
122
internal int Index => _owningTreeView.Nodes.IndexOf(
_owningTreeNode
);
136
public override string? Name =>
_owningTreeNode
.Text;
140
public override AccessibleObject? Parent =>
_owningTreeNode
.Parent?.AccessibilityObject;
153
_owningTreeNode
.GetHashCode()
162
if (!
_owningTreeNode
.IsVisible)
176
if (
_owningTreeNode
.IsSelected)
194
if (
_owningTreeNode
.Nodes.Count == 0)
199
_owningTreeNode
.Expand();
204
if (
_owningTreeNode
.Nodes.Count == 0)
209
_owningTreeNode
.Collapse();
216
if (
_owningTreeNode
.Nodes.Count == 0)
221
return
_owningTreeNode
.IsExpanded
239
if (
_owningTreeNode
.IsVisible)
244
_owningTreeView.TopNode =
_owningTreeNode
;
251
internal override bool IsItemSelected =>
_owningTreeNode
.IsSelected;
260
internal override void Toggle() =>
_owningTreeNode
.Checked = !
_owningTreeNode
.Checked;
263
=>
_owningTreeNode
.Checked ? ToggleState.ToggleState_On : ToggleState.ToggleState_Off;
269
public override string? Value =>
_owningTreeNode
.Text;