Share via


CommandBarOverflowButtonVisibility Enum

Definition

Defines constants that specify when a command bar's overflow button is shown.

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

Fields

Name Value Description
Auto 0

The overflow button automatically hides when there are no secondary commands and the closed state of the CommandBar is the same as the open state.

Visible 1

The overflow button is always shown.

Collapsed 2

The overflow button is never shown.

Remarks

This enumeration provides values for the CommandBar.OverflowButtonVisibility property.

Applies to