DataGridViewCell.DataGridViewCellAccessibleObject.Owner Property

Definition

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

public:
 property System::Windows::Forms::DataGridViewCell ^ Owner { System::Windows::Forms::DataGridViewCell ^ get(); void set(System::Windows::Forms::DataGridViewCell ^ value); };
public System.Windows.Forms.DataGridViewCell Owner { get; set; }
public System.Windows.Forms.DataGridViewCell? Owner { get; set; }
member this.Owner : System.Windows.Forms.DataGridViewCell with get, set
Public Property Owner As DataGridViewCell

Property Value

The DataGridViewCell that owns the DataGridViewCell.DataGridViewCellAccessibleObject.

Exceptions

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

Applies to

See also