InfoBarCloseReason Enum

Definition

Defines constants that indicate the cause of the InfoBar closure.

C#
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.Version(1)]
public enum InfoBarCloseReason
C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public enum InfoBarCloseReason
Inheritance
InfoBarCloseReason
Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute VersionAttribute ContractVersionAttribute

Fields

Name Value Description
CloseButton 0

The InfoBar was closed by the user clicking the close button.

Programmatic 1

The InfoBar was programmatically closed.

Applies to

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