DataGridViewCell::DataGridViewCellAccessibleObject::Parent Property
.NET Framework (current version)
Gets the parent of the DataGridViewCell::DataGridViewCellAccessibleObject.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property AccessibleObject^ Parent { [SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::UnmanagedCode)] virtual AccessibleObject^ get() override; }
Property Value
Type: System.Windows.Forms::AccessibleObject^The parent of the DataGridViewCell::DataGridViewCellAccessibleObject.
| Exception | Condition |
|---|---|
| InvalidOperationException | The value of the Owner property is null. |
The Parent property returns a DataGridViewRow::DataGridViewRowAccessibleObject, which represents the DataGridViewRow that contains the DataGridViewCell.
SecurityPermission
to call unmanaged code. Demand value: Demand. Permission value: UnmanagedCode
.NET Framework
Available since 2.0
Available since 2.0
Show: