Share via


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입니다. 값에 영향을 줄 수 있는 요소에 대한 자세한 내용은 종속성 속성 값 우선 순위를 참조하세요.

예제

다음 예제에서는 콤보 상자의 세 가지 사용 가능한 항목을 사용 하 여 만드는 태그를 보여 줍니다.

<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>

설명

종속성 속성 정보

식별자 필드 IsEditableProperty
메타 데이터 속성 설정 true 없음

적용 대상