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.v25.1.dll
NuGet Package: DevExpress.Wpf.Controls
Declaration
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.