DataGridViewCell.OwningColumn DataGridViewCell.OwningColumn DataGridViewCell.OwningColumn DataGridViewCell.OwningColumn Property

定義

取得包含這個儲存格的資料行。Gets the column that contains this cell.

public:
 property System::Windows::Forms::DataGridViewColumn ^ OwningColumn { System::Windows::Forms::DataGridViewColumn ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.DataGridViewColumn OwningColumn { get; }
member this.OwningColumn : System.Windows.Forms.DataGridViewColumn
Public ReadOnly Property OwningColumn As DataGridViewColumn

屬性值

DataGridViewColumn,其中包含儲存格,或是如果儲存格不在資料行之中,則為 nullThe DataGridViewColumn that contains the cell, or null if the cell is not in a column.

適用於

另請參閱