BindingNavigator.CountItemFormat Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public string CountItemFormat { get; set; }

Property Value

Type: System.String

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

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.

.NET Framework
Available since 2.0
Return to top
Show: