UIUserInterfaceStyle 列舉
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
列舉 CarPlay 和 tvOS UI 主題。
C#
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIUserInterfaceStyle
type UIUserInterfaceStyle =
- 繼承
-
UIUserInterfaceStyle
- 屬性
名稱 | 值 | Description |
---|---|---|
Dark | 2 | 表示深色主題。 |
Light | 1 | 表示淺色主題。 |
Unspecified | 0 | 表示主題未知。 |
產品 | 版本 |
---|---|
Xamarin iOS SDK | 12 |