BindingNavigator.CountItem Vlastnost

Definice

Získá nebo nastaví , ToolStripItem který zobrazuje celkový počet položek v přidružené 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

Hodnota vlastnosti

A ToolStripItem , který zobrazuje celkový počet položek v přidruženém BindingSource.

Atributy

Poznámky

Vlastnost CountItem je null , pokud nebyla dříve nastavena a je přístupná před AddStandardItems implicitně nebo explicitně volána metoda.

K počtu položek se přistupuje prostřednictvím Count vlastnosti BindingSource.

Ve výchozí implementaci tato vlastnost představuje ovládací prvek typu ToolStripLabel.

Platí pro

Viz také