iOS Guides | Samples

MonoTouch.UIKit.UIButtonType Enumeration

An enumeration of predefined button types.

Syntax

[MonoTouch.ObjCRuntime.Native]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIButtonType

Remarks

The type of a UIButton.

Members

Member NameDescription
ContactAddThe contact add button.
CustomNo button style.
DetailDisclosureUses a detail disclosure button (arrow).
InfoDarkInformation button, dark background.
InfoLightInformation button, light background.
RoundedRectRounded rectangle style. This style is deprecated as of iOS 7; developers should use UIButtonType.System.
SystemAdded in iOS 7, this is the preferred default style. It lacks visible edges, background, etc.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIButtonType are listed below.

See Also: Enum

Public Fields

ContactAddUIButtonType. The contact add button.
CustomUIButtonType. No button style.
DetailDisclosureUIButtonType. Uses a detail disclosure button (arrow).
InfoDarkUIButtonType. Information button, dark background.
InfoLightUIButtonType. Information button, light background.
RoundedRectUIButtonType. Rounded rectangle style. This style is deprecated as of iOS 7; developers should use UIButtonType.System.
SystemUIButtonType. Added in iOS 7, this is the preferred default style. It lacks visible edges, background, etc.