Dela via


RibbonControlSizeDefinition.IsLabelVisible Property

Gets or sets a value that indicates whether the control’s label is visible.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property IsLabelVisible As Boolean
public bool IsLabelVisible { get; set; }
public:
property bool IsLabelVisible {
    bool get ();
    void set (bool value);
}
member IsLabelVisible : bool with get, set
function get IsLabelVisible () : boolean
function set IsLabelVisible (value : boolean)

Property Value

Type: System.Boolean
true if the control’s label is visible; otherwise, false. The registered default is true. For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

IsLabelVisibleProperty

Metadata properties set to true

None

Remarks

If the label property of the control is not set, no label will be shown even if the IsLabelVisible property is true.

.NET Framework Security

See Also

Reference

RibbonControlSizeDefinition Class

Microsoft.Windows.Controls.Ribbon Namespace

Other Resources

Ribbon Layout and Resizing