System.Windows.Forms.BindingNavigator.CountItem Property

Gets or sets the System.Windows.Forms.ToolStripItem that displays the total number of items in the associated System.Windows.Forms.BindingSource.

Syntax

[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ReferenceConverter))]
public ToolStripItem CountItem { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The BindingNavigator.CountItem property is null if it was not previously set and it is accessed before the BindingNavigator.AddStandardItems method is implicitly or explicitly called.

The count of items is accessed through the BindingSource.Count property of the System.Windows.Forms.BindingSource.

In the default implementation, this property represents a control of type System.Windows.Forms.ToolStripLabel.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0