BindingNavigator.CountItemFormat Proprietà

Definizione

Ottiene o imposta una stringa utilizzata per formattare le informazioni visualizzate nel controllo 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

Valore della proprietà

String

Stringa di formato String utilizzata per la formattazione del numero di elementi. Il valore predefinito è la stringa "of {0}".

Commenti

Il CountItem controllo è un oggetto ToolStripLabel che visualizza il numero totale di elementi nell'oggetto BindingSource. La CountItemFormat proprietà è la stringa di formato usata per formattare il conteggio.

Per altre informazioni sulle stringhe di formato, vedere il String.Format(String, Object) metodo .

Si applica a

Vedi anche