DataGridViewCell::DataGridViewCellAccessibleObject::Owner Property
.NET Framework (current version)
Gets or sets the cell that owns the DataGridViewCell::DataGridViewCellAccessibleObject.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property DataGridViewCell^ Owner { DataGridViewCell^ get(); void set(DataGridViewCell^ value); }
Property Value
Type: System.Windows.Forms::DataGridViewCell^The DataGridViewCell that owns the DataGridViewCell::DataGridViewCellAccessibleObject.
| Exception | Condition |
|---|---|
| InvalidOperationException | When setting this property, the Owner property has already been set. |
.NET Framework
Available since 2.0
Available since 2.0
Show: