DataGridViewCell.DataGridViewCellAccessibleObject.Owner Property

Definition

获取或设置拥有 DataGridViewCell.DataGridViewCellAccessibleObject 的单元格。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; }
member this.Owner : System.Windows.Forms.DataGridViewCell with get, set
Public Property Owner As DataGridViewCell

Property Value

DataGridViewCell

拥有 DataGridViewCell.DataGridViewCellAccessibleObjectDataGridViewCellThe DataGridViewCell that owns the DataGridViewCell.DataGridViewCellAccessibleObject.

Exceptions

设置此属性时,已设置了 Owner 属性。When setting this property, the Owner property has already been set.

Applies to

See also