RibbonCheckBox.Label Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the text that is displayed next to or below the control.
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
The text that is displayed next to or below the control. The registered default is null
. For more information about what can influence the value, see Dependency Property Value Precedence.
The following example shows how to set the Label property on a RibbonCheckBox.
<ribbon:RibbonCheckBox Label="Reminder"
SmallImageSource="Images/Reminder16.png"
LargeImageSource="Images/Reminder32.png"
KeyTip="R"/>
Set the IsLabelVisible property on the ControlSizeDefinition to control the visibility of the label.
Item | Value |
---|---|
Identifier field | LabelProperty |
Metadata properties set to true |
None |
Продукт | Версии |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: