DataGridViewImageCell.ImageLayout Właściwość

Definicja

Pobiera lub ustawia układ graficzny komórki.

public:
 property System::Windows::Forms::DataGridViewImageCellLayout ImageLayout { System::Windows::Forms::DataGridViewImageCellLayout get(); void set(System::Windows::Forms::DataGridViewImageCellLayout value); };
public System.Windows.Forms.DataGridViewImageCellLayout ImageLayout { get; set; }
member this.ImageLayout : System.Windows.Forms.DataGridViewImageCellLayout with get, set
Public Property ImageLayout As DataGridViewImageCellLayout

Wartość właściwości

DataGridViewImageCellLayout

A DataGridViewImageCellLayout dla tej komórki. Wartość domyślna to NotSet.

Wyjątki

Podana DataGridViewImageCellLayout wartość jest nieprawidłowa.

Uwagi

Zmiana tej właściwości spowoduje ponowne rysowanie komórki.

ImageLayout Ustawienie właściwości kolumny właścicielem powoduje również ustawienie ImageLayout właściwości każdej komórki w kolumnie i odświeżenie wyświetlania kolumny. Aby zastąpić określoną wartość dla poszczególnych komórek, ustaw wartości komórek po ustawieniu wartości kolumny.

Dotyczy

Zobacz też