BindingNavigator::CountItem Property
.NET Framework (current version)
Gets or sets the ToolStripItem that displays the total number of items in the associated BindingSource.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [TypeConverterAttribute((ReferenceConverter^::typeid))] property ToolStripItem^ CountItem { ToolStripItem^ get(); void set(ToolStripItem^ value); }
Property Value
Type: System.Windows.Forms::ToolStripItem^A ToolStripItem that displays the total number of items in the associated BindingSource.
The CountItem property is null if it was not previously set and it is accessed before the AddStandardItems method is implicitly or explicitly called.
The count of items is accessed through the Count property of the BindingSource.
In the default implementation, this property represents a control of type ToolStripLabel.
.NET Framework
Available since 2.0
Available since 2.0
Show: