RibbonToggleButton.Label Vlastnost

Definice

Získá nebo nastaví text zobrazený vedle nebo pod ovládacím prvku.

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

Hodnota vlastnosti

Text zobrazený vedle ovládacího prvku nebo pod ním. Zaregistrované výchozí nastavení je null. Další informace o tom, co může ovlivnit hodnotu, naleznete v tématu Priorita hodnoty vlastnosti závislosti.

Příklady

Následující příklad ukazuje, jak nastavit Label vlastnost na RibbonToggleButton.

<ribbon:RibbonToggleButton Label="Reminder"
                      Command="{Binding ReminderCommand}"
                      SmallImageSource="Images/Reminder16.png" 
                      LargeImageSource="Images/Reminder32.png"
                      KeyTip="R"/>

Poznámky

IsLabelVisible Nastavte vlastnost ControlSizeDefinition pro řízení viditelnosti popisku.

Informace o vlastnosti závislosti

Item Hodnota
Pole Identifikátor LabelProperty
Vlastnosti metadat nastavené na true None

Platí pro