BindingNavigator.MoveLastItem Właściwość

Definicja

Pobiera lub ustawia ToolStripItem element skojarzony z funkcją Move Last .

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

Wartość właściwości

Element ToolStripItem reprezentujący przycisk Przenieś ostatni dla obiektu BindingSource.

Atrybuty

Uwagi

Po ustawieniu ta właściwość generuje procedurę Click obsługi zdarzeń dla przycisku Przenieś ostatni . Ta procedura obsługi zdarzeń wywołuje metodę po kliknięciu MoveLast przycisku Przenieś ostatni w czasie wykonywania.

Ta właściwość jest null , jeśli nie została wcześniej ustawiona i jest dostępna przed AddStandardItems niejawnie lub jawnie wywoływana metoda.

Kontrolka BindingNavigator wyłączy przycisk Przenieś ostatni w następujących okolicznościach czasu wykonywania: BindingSource właściwość jest null lub Position właściwość jest większa lub równa Count właściwości.

W domyślnej implementacji ta właściwość reprezentuje kontrolkę typu ToolStripButton.

Dotyczy

Zobacz też