Share via


CommandBarLabelPosition Enum

Definition

Defines constants that specify the placement and visibility of an app bar button's label.

public enum class CommandBarLabelPosition
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class CommandBarLabelPosition
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum CommandBarLabelPosition
Public Enum CommandBarLabelPosition
Inheritance
CommandBarLabelPosition
Attributes

Fields

Name Value Description
Default 0

The placement and visibility of the app bar button's label is determined by the value of the CommandBar.DefaultLabelPosition property.

Collapsed 1

The app bar button's label is always hidden whether the command bar is open or closed.

Remarks

This enumeration provides values for the LabelPosition property on AppBarButton and AppBarToggleButton.

Applies to