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;
173
return Owner.DataGridView.RowHeadersVisible ?
Parent
?.GetChild(0) : null;
178
return
Parent
?.GetChild(VisibleIndex - 1);
197
return visibleIndex < 0 ? null :
Parent
?.GetChild(visibleIndex + 1);
249
NavigateDirection.NavigateDirection_Parent =>
Parent
,
System.Windows.Forms.Tests (2)
System\Windows\Forms\AccessibleObjects\DataGridViewColumnHeaderCellAccessibleObjectTests.cs (2)
21
Assert.Throws<InvalidOperationException>(() => new DataGridViewColumnHeaderCellAccessibleObject(null).
Parent
);
33
Assert.Equal(control.AccessibilityObject.GetChild(0), accessibleObject.
Parent
);