Share via


InfoBarCloseReason Enum

Definition

Defines constants that indicate the cause of the InfoBar closure.

public enum class InfoBarCloseReason
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Windows.Foundation.Metadata.Version(1)]
enum class InfoBarCloseReason
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
enum class InfoBarCloseReason
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.Version(1)]
public enum InfoBarCloseReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public enum InfoBarCloseReason
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