DataGridViewCell::DataGridViewCellAccessibleObject::Owner Property

 

Gets or sets the cell that owns the DataGridViewCell::DataGridViewCellAccessibleObject.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property DataGridViewCell^ Owner {
	DataGridViewCell^ get();
	void set(DataGridViewCell^ value);
}

Exception Condition
InvalidOperationException

When setting this property, the Owner property has already been set.

.NET Framework
Available since 2.0
Return to top
Show: