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)
27if (!_owningTreeView.IsHandleCreated || !_owningTreeNode.IsVisible) 32return _owningTreeNode.RectangleToScreen(_owningTreeNode.Bounds); 42return _owningTreeNode.Checked 68if (_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; 116UIA_PROPERTY_ID.UIA_LevelPropertyId => (VARIANT)(_owningTreeNode.Level + 1), 122internal int Index => _owningTreeView.Nodes.IndexOf(_owningTreeNode); 136public override string? Name => _owningTreeNode.Text; 140public override AccessibleObject? Parent => _owningTreeNode.Parent?.AccessibilityObject; 153_owningTreeNode.GetHashCode() 162if (!_owningTreeNode.IsVisible) 176if (_owningTreeNode.IsSelected) 194if (_owningTreeNode.Nodes.Count == 0) 199_owningTreeNode.Expand(); 204if (_owningTreeNode.Nodes.Count == 0) 209_owningTreeNode.Collapse(); 216if (_owningTreeNode.Nodes.Count == 0) 221return _owningTreeNode.IsExpanded 239if (_owningTreeNode.IsVisible) 244_owningTreeView.TopNode = _owningTreeNode; 251internal override bool IsItemSelected => _owningTreeNode.IsSelected; 260internal override void Toggle() => _owningTreeNode.Checked = !_owningTreeNode.Checked; 263=> _owningTreeNode.Checked ? ToggleState.ToggleState_On : ToggleState.ToggleState_Off; 269public override string? Value => _owningTreeNode.Text;