Compartilhar via


CPAlertActionStyle Enumeração

Definição

Enumera os estilos de um botão de ação do objeto T:CarPlay.CPAlert .

[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 = 
Herança
CPAlertActionStyle
Atributos

Campos

Cancel 1

O estilo usado ao fornecer uma ação de cancelamento para o alerta.

Default 0

O estilo padrão.

Destructive 2

O estilo usado quando a ação é destrutiva, como a exclusão de dados.

Aplica-se a