BindingNavigator.MovePreviousItem Właściwość

Definicja

Pobiera lub ustawia ToolStripItem wartość skojarzona z funkcją Przenieś poprzednią .

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

Wartość właściwości

Element ToolStripItem reprezentujący przycisk Przenieś poprzedni dla elementu BindingSource.

Atrybuty

Uwagi

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

Ta właściwość jest null taka, jeśli nie została wcześniej ustawiona i jest dostępna przed AddStandardItems niejawnym lub jawnym wywołaniem metody.

Kontrolka BindingNavigator wyłączy przycisk Przenieś poprzedni w następujących okolicznościach czasu wykonywania: BindingSource właściwość jest lub Position właściwość jest null mniejsza lub równa 0.

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

Dotyczy

Zobacz też