Bagikan melalui


BindingNavigator.MovePreviousItem Properti

Definisi

Mendapatkan atau mengatur ToolStripItem yang terkait dengan fungsionalitas Pindahkan Sebelumnya .

public:
 property System::Windows::Forms::ToolStripItem ^ MovePreviousItem { System::Windows::Forms::ToolStripItem ^ get(); void set(System::Windows::Forms::ToolStripItem ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ReferenceConverter))]
public System.Windows.Forms.ToolStripItem MovePreviousItem { get; set; }
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ReferenceConverter))]
public System.Windows.Forms.ToolStripItem? MovePreviousItem { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ReferenceConverter))>]
member this.MovePreviousItem : System.Windows.Forms.ToolStripItem with get, set
Public Property MovePreviousItem As ToolStripItem

Nilai Properti

ToolStripItem Yang mewakili tombol Pindahkan Sebelumnya untuk BindingSource.

Atribut

Keterangan

Saat diatur, MovePreviousItem properti menghasilkan Click penanganan aktivitas untuk tombol Pindahkan Sebelumnya . Penanganan aktivitas ini memanggil MovePrevious metode ketika tombol Pindahkan Sebelumnya diklik pada waktu proses.

Properti ini adalah null jika sebelumnya tidak diatur dan diakses sebelum AddStandardItems metode dipanggil secara implisit atau eksplisit.

Kontrol BindingNavigator akan menonaktifkan tombol Pindahkan Sebelumnya dalam keadaan run-time berikut: BindingSource properti kurang nullPosition dari atau sama dengan 0.

Dalam implementasi default, properti ini mewakili kontrol jenis ToolStripButton.

Berlaku untuk

Lihat juga