RibbonTextBox.SmallImageSource 속성

정의

이미지 크기를 Small로 설정할 때 컨트롤에 표시되는 이미지를 가져오거나 설정합니다.

public:
 property System::Windows::Media::ImageSource ^ SmallImageSource { System::Windows::Media::ImageSource ^ get(); void set(System::Windows::Media::ImageSource ^ value); };
public System.Windows.Media.ImageSource SmallImageSource { get; set; }
member this.SmallImageSource : System.Windows.Media.ImageSource with get, set
Public Property SmallImageSource As ImageSource

속성 값

ImageSource

컨트롤에 표시할 이미지입니다. 등록된 기본값은 null입니다. 값에 영향을 줄 수 있는 요소에 대한 자세한 내용은 종속성 속성 값 우선 순위를 참조하세요.

예제

다음 예제에서는 설정 하는 방법을 보여 줍니다 합니다 SmallImageSource 속성에는 RibbonTextBox합니다.

<ribbon:RibbonTextBox Label="1" Text="Green"
                 Command="{Binding ColorCommand}"
                 SmallImageSource="Images/RightArrowShort_Green16.png" 
                 LargeImageSource="Images/RightArrowShort_Green32.png" 
                 KeyTip="C" />

설명

설정 합니다 ImageSize 속성에는 ControlSizeDefinition 의 표시 유형을 제어 하는 SmallImageSource.

종속성 속성 정보

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

적용 대상

추가 정보