RibbonComboBox.IsEditable プロパティ

定義

コンボ ボックスの内容を編集できるかどうかを示す値を取得または設定します。

public:
 property bool IsEditable { bool get(); void set(bool value); };
public bool IsEditable { get; set; }
member this.IsEditable : bool with get, set
Public Property IsEditable As Boolean

プロパティ値

true コンボ ボックスの内容を編集できる場合。それ以外の場合は false。 登録済みの既定値は false です。 値に影響を与える可能性がある内容の詳細については、「 依存関係プロパティの値の優先順位」を参照してください。

次の例は、3 つの項目を含むコンボ ボックスを作成するマークアップを示しています。

<ribbon:RibbonComboBox Label="1" 
                  SmallImageSource="Images/RightArrowShort_Green16.png"
                  SelectionBoxWidth="62"
                  VerticalAlignment="Center" 
                  IsEditable="True" >
    <ribbon:RibbonGallery SelectedValue="Green"
                          SelectedValuePath="Content"
                          MaxColumnCount="1">
        <ribbon:RibbonGalleryCategory>
            <ribbon:RibbonGalleryItem Content="Green" Foreground="Green" />
            <ribbon:RibbonGalleryItem Content="Blue" Foreground="Blue" />
            <ribbon:RibbonGalleryItem Content="Orange" Foreground="Orange" />
        </ribbon:RibbonGalleryCategory>
    </ribbon:RibbonGallery>
</ribbon:RibbonComboBox>

注釈

依存関係プロパティ情報

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

適用対象