Bagikan melalui


BindingNavigator.MoveLastItem Properti

Definisi

Mendapatkan atau mengatur ToolStripItem yang terkait dengan fungsionalitas Pindahkan Terakhir .

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

Nilai Properti

ToolStripItem yang mewakili tombol Pindah Terakhir untuk BindingSource.

Atribut

Keterangan

Ketika diatur, properti ini menghasilkan Click penanganan aktivitas untuk tombol Pindah Terakhir . Penanganan aktivitas ini memanggil MoveLast metode ketika tombol Pindah terakhir diklik pada durasi.

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

Kontrol BindingNavigator akan menonaktifkan tombol Pindah Terakhir dalam keadaan run-time berikut: BindingSource properti adalah null atau Position properti lebih besar dari atau sama dengan Count properti .

Dalam implementasi default, properti ini mewakili kontrol jenis ToolStripButton.

Berlaku untuk

Lihat juga