CommandBarOverflowButtonVisibility Enum

Definition

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

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
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

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6