RibbonComboBox.Text プロパティ

定義

現在選択されている項目のテキストを取得または設定します。

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

プロパティ値

選択ボックスに表示される項目のテキスト。 登録済みの既定値は、 Empty 文字列です。 値に影響を与える可能性がある内容の詳細については、「 依存関係プロパティの値の優先順位」を参照してください。

注釈

SelectionBoxItemがなく、IsEditabletrueされている場合、このプロパティはテキスト ボックスに入力されたテキストを表します。 IsEditablefalseされている場合、このプロパティは選択した項目の文字列バージョンを表します。

依存関係プロパティ情報

Item 価値
識別子フィールド TextProperty
に設定されたメタデータ プロパティ true None

適用対象