BindingNavigator.CountItemFormat Property

Definition

Gets or sets a string used to format the information displayed in the CountItem control.

C#
public string CountItemFormat { get; set; }

Property Value

The format String used to format the item count. The default is the string "of {0}".

Remarks

The CountItem control is a ToolStripLabel that displays the total number of items in the BindingSource. The CountItemFormat property is the format string used to format the count.

For more information about format strings, see the String.Format(String, Object) method.

Applies to

Produkt Versioner
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also