CPAlertActionStyle Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates the styles for a T:CarPlay.CPAlert object's action button.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public enum CPAlertActionStyle
type CPAlertActionStyle =
- Inheritance
-
CPAlertActionStyle
- Attributes
Fields
Name | Value | Description |
---|---|---|
Default | 0 | The default style. |
Cancel | 1 | The style used when providing a cancel action for the alert. |
Destructive | 2 | The style used when the action is destructive, such as deleting data. |