InfoBarSeverity 列舉
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public enum class InfoBarSeverity
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Windows.Foundation.Metadata.Version(1)]
enum class InfoBarSeverity
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
enum class InfoBarSeverity
C#
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.Version(1)]
public enum InfoBarSeverity
C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public enum InfoBarSeverity
Public Enum InfoBarSeverity
- 繼承
-
InfoBarSeverity
- 屬性
-
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute Version
Attribute ContractVersion Attribute
名稱 | 值 | Description |
---|---|---|
Error | 3 | 傳達 InfoBar 正在顯示有關發生錯誤或問題的資訊。 針對輔助技術,他們會遵循NotificationProcessing_ImportantAll常數中設定的行為。 |
Informational | 0 | 傳達 InfoBar 正在顯示需要使用者注意的一般資訊。 針對輔助技術,他們會遵循Processing_All常數中設定的行為。 |
Success | 1 | 傳達 InfoBar 正在顯示長時間執行和/或背景工作的相關信息,該工作已順利完成。 針對輔助技術,他們會遵循Processing_All常數中設定的行為。 |
Warning | 2 | 傳達 InfoBar 正在顯示未來可能造成問題之條件的相關信息。 針對輔助技術,他們會遵循NotificationProcessing_ImportantAll常數中設定的行為。 |
提示
如需詳細資訊、設計指引和程式碼範例,請參閱 InfoBar。
WinUI 3 資源庫應用程式包含大部分 WinUI 3 控制件、特性和功能的互動式範例。 從 Microsoft Store 取得應用程式,或在 GitHub 上取得原始程式碼。
產品 | 版本 |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |