InfoBarCloseReason 枚举

定义

定义指示 InfoBar 关闭原因的常量。

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
继承
InfoBarCloseReason
属性
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute VersionAttribute ContractVersionAttribute

字段

CloseButton 0

用户单击“关闭”按钮关闭了信息栏。

Programmatic 1

InfoBar 以编程方式关闭。

适用于