Base:
property
Parent
System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject.Parent
7 references to Parent
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (5)
32: (Owner.DataGridView?.IsHandleCreated == true) ? GetAccessibleObjectBounds(Parent) : Rectangle.Empty; 173return Owner.DataGridView.RowHeadersVisible ? Parent?.GetChild(0) : null; 178return Parent?.GetChild(VisibleIndex - 1); 197return visibleIndex < 0 ? null : Parent?.GetChild(visibleIndex + 1); 249NavigateDirection.NavigateDirection_Parent => Parent,
System.Windows.Forms.Tests (2)
System\Windows\Forms\AccessibleObjects\DataGridViewColumnHeaderCellAccessibleObjectTests.cs (2)
21Assert.Throws<InvalidOperationException>(() => new DataGridViewColumnHeaderCellAccessibleObject(null).Parent); 33Assert.Equal(control.AccessibilityObject.GetChild(0), accessibleObject.Parent);