BindingNavigator.CountItemFormat プロパティ

定義

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

プロパティ値

String

項目数の書式指定に使用する書式を表す String。 既定値は文字列 "of {0}" です。

注釈

CountItemコントロールは、ToolStripLabel内の項目BindingSourceの合計数を表示する a です。 プロパティは CountItemFormat 、カウントの書式設定に使用される書式指定文字列です。

書式指定文字列の詳細については、メソッドを String.Format(String, Object) 参照してください。

適用対象

こちらもご覧ください