Share via


RibbonButton.Label 속성

정의

컨트롤 다음 또는 아래에 표시되는 텍스트를 가져오거나 설정합니다.

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

속성 값

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

예제

다음 예제에서는 첫 번째 단추를 만드는 데 태그를 보여 줍니다. Label 속성을 "Paste"로 설정 합니다.

리본 단추 컨트롤 리본
리본 단추 컨트롤

<ribbon:RibbonButton Label="Paste"
                Command="Paste"
                SmallImageSource="Images/Paste16.png" 
                LargeImageSource="Images/Paste32.png"
                KeyTip="V"
                ToolTip="Paste (Ctrl+V)"
                ToolTipDescription="Paste the contents of the Clipboard into the document." />

설명

설정 합니다 IsLabelVisible 속성에는 ControlSizeDefinition 레이블의 표시 여부를 제어 하 합니다.

종속성 속성 정보

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

적용 대상