Dela 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(Windows.Foundation.UniversalApiContract, 196608)]
enum class CommandBarOverflowButtonVisibility
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum CommandBarOverflowButtonVisibility
Public Enum CommandBarOverflowButtonVisibility
Inheritance
CommandBarOverflowButtonVisibility
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

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