共用方式為


DataGridViewCell.DataGridViewCellAccessibleObject.Owner 屬性

定義

取得或設定擁有 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

屬性值

DataGridViewCell

擁有 DataGridViewCell.DataGridViewCellAccessibleObjectDataGridViewCell

例外狀況

當設定這個屬性時,已經設定了 Owner 屬性。

適用於

另請參閱