UIButtonType Enum

Definition

An enumeration of predefined button types.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIButtonType
type UIButtonType = 
Inheritance
UIButtonType
Attributes

Fields

ContactAdd 5

The contact add button.

Custom 0

No button style.

DetailDisclosure 2

Uses a detail disclosure button (arrow).

InfoDark 4

Information button, dark background.

InfoLight 3

Information button, light background.

Plain 6

A standard system button.

RoundedRect 1

Rounded rectangle style. This style is deprecated as of iOS 7; developers should use System.

System 1

Added in iOS 7, this is the preferred default style. It lacks visible edges, background, etc.

Remarks

The type of a UIButton.

Applies to