Bagikan melalui


DataGridViewImageCell.ImageLayout Properti

Definisi

Mendapatkan atau mengatur tata letak grafik untuk sel.

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

Nilai Properti

A DataGridViewImageCellLayout untuk sel ini. Defaultnya adalah NotSet.

Pengecualian

Nilai yang disediakan DataGridViewImageCellLayout tidak valid.

Keterangan

Mengubah properti ini akan menyebabkan sel dirawat ulang.

ImageLayout Mengatur properti kolom pemilik juga mengatur ImageLayout properti setiap sel di kolom dan me-refresh tampilan kolom. Untuk mengambil alih nilai yang ditentukan untuk sel individual, atur nilai sel setelah Anda mengatur nilai kolom.

Berlaku untuk

Lihat juga