편집

다음을 통해 공유


DataGridViewCell.OwningColumn Property

Definition

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; }
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.DataGridViewColumn? OwningColumn { get; }
[<System.ComponentModel.Browsable(false)>]
member this.OwningColumn : System.Windows.Forms.DataGridViewColumn
Public ReadOnly Property OwningColumn As DataGridViewColumn

Property Value

The DataGridViewColumn that contains the cell, or null if the cell is not in a column.

Attributes

Applies to

See also