BindingNavigator.CountItem Właściwość

Definicja

Pobiera lub ustawia ToolStripItem wartość, która wyświetla łączną liczbę elementów w skojarzonym obiekcie BindingSource.

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

Wartość właściwości

Element ToolStripItem , który wyświetla łączną liczbę elementów w skojarzonym obiekcie BindingSource.

Atrybuty

Uwagi

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

Liczba elementów jest uzyskiwana za pośrednictwem Count właściwości BindingSource.

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

Dotyczy

Zobacz też