BindingNavigator.CountItemFormat Właściwość

Definicja

Pobiera lub ustawia ciąg używany do formatowania informacji wyświetlanych w kontrolce CountItem .

public:
 property System::String ^ CountItemFormat { System::String ^ get(); void set(System::String ^ value); };
public string CountItemFormat { get; set; }
member this.CountItemFormat : string with get, set
Public Property CountItemFormat As String

Wartość właściwości

String

Format String używany do formatowania liczby elementów. Wartość domyślna to ciąg "of {0}".

Uwagi

Kontrolka CountItem to ToolStripLabel , która wyświetla łączną liczbę elementów w elemecie BindingSource. Właściwość CountItemFormat jest ciągiem formatu używanym do formatowania liczby.

Aby uzyskać więcej informacji na temat ciągów formatu, zobacz metodę String.Format(String, Object) .

Dotyczy

Zobacz też