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.DataGridViewCellAccessibleObjectDataGridViewCell

例外

设置此属性时,已设置了 Owner 属性。

适用于

另请参阅