AppBarButton.Label Property

Gets or sets the object used to render the label of the app bar button.

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v20.1.dll

Declaration

public object Label { get; set; }
Public Property Label As Object

Property Value

Type Description
Object

The object used to render the label of the button.

Remarks

A button label specified by the Label property can be any Object. In most cases, you use a String value to specify the AppBarButton's label. It is also possible to use a custom object to represent the label and apply a data template to render the AppBarButton's label. For this purpose, the AppBarButton provides the AppBarButton.LabelTemplate and AppBarButton.LabelTemplateSelector properties. To learn more on how to apply a data template to render the label, see the AppBar Control topic.

Buttons can be displayed without labels by setting the AppBarButton.IsCompact property to true.

See Also