Condividi tramite


BindingNavigator.CountItemFormat Proprietà

Definizione

Ottiene o imposta una stringa utilizzata per formattare le informazioni visualizzate nel CountItem controllo .

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à

Formato String utilizzato per formattare il conteggio degli 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 utilizzata per formattare il conteggio.

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

Si applica a

Vedi anche