編輯

共用方式為


UIContextualActionStyle Enum

Definition

Enumerates action button styles.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIContextualActionStyle
type UIContextualActionStyle = 
Inheritance
UIContextualActionStyle
Attributes

Fields

Name Value Description
Normal 0

Indicates the style for a button that causes a nondestructive action.

Destructive 1

Indicates the style for a button that causes a destructive button.

Applies to