DataGridViewBand.HeaderCellCore Właściwość

Definicja

Pobiera lub ustawia komórkę nagłówka obiektu DataGridViewBand.

protected:
 property System::Windows::Forms::DataGridViewHeaderCell ^ HeaderCellCore { System::Windows::Forms::DataGridViewHeaderCell ^ get(); void set(System::Windows::Forms::DataGridViewHeaderCell ^ value); };
[System.ComponentModel.Browsable(false)]
protected System.Windows.Forms.DataGridViewHeaderCell HeaderCellCore { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.HeaderCellCore : System.Windows.Forms.DataGridViewHeaderCell with get, set
Protected Property HeaderCellCore As DataGridViewHeaderCell

Wartość właściwości

DataGridViewHeaderCell

Element DataGridViewHeaderCell reprezentujący komórkę nagłówka obiektu DataGridViewBand.

Atrybuty

Wyjątki

Określona wartość podczas ustawiania tej właściwości nie jest i DataGridViewRowHeaderCell to DataGridViewBand wystąpienie jest typu DataGridViewRow.

-lub- Określona wartość podczas ustawiania tej właściwości nie jest i DataGridViewColumnHeaderCell to DataGridViewBand wystąpienie jest typu DataGridViewColumn.

Dotyczy

Zobacz też