UIActionSheetStyle Enum
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.
The visual style for a UIActionSheet.
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIActionSheetStyle
type UIActionSheetStyle =
- Inheritance
-
UIActionSheetStyle
- Attributes
Name | Value | Description |
---|---|---|
Automatic | -1 | Same as Default default. |
Default | 0 | The default style takes appearance of the bottom bar. |
BlackOpaque | 1 | A black, opaque style. |
BlackTranslucent | 2 | A background with some amount of translucence. |
The values of Automatic and Default are the same.
In this image, the left phone is displaying with BlackTranslucent style and the right with BlackOpaque style.
- <xref:UIKit.UIActionSheet%2bUIActionSheetAppearance>