The members of UIKit.UIButton are listed below.
See Also: Inherited members from UIKit.UIControl
UIButton() | Default constructor that initializes a new instance of this class with no parameters. | |
Initializes the UIButton with the specified frame. | ||
A constructor that initializes the object from the data stored in the unarchiver object. | ||
Preferred constructor for UIButtons, but can not be used when subclassing. |
Constructor to call on derived classes to skip initialization and merely allocate the object. | ||
A constructor used when creating managed representations of unmanaged objects; Called by the runtime. |
AdjustsImageWhenDisabled | bool. Whether the image changes when this UIButton is disabled. | |
AdjustsImageWhenHighlighted | bool. Whether the image changes when this UIButton is highlighted. | |
[read-only] static | Appearance | UIButton.UIButtonAppearance. Strongly-typed property that returns the UIAppearance class for this class. |
[read-only] | ButtonType | UIButtonType. The UIButtonType of this UIButton. |
[read-only] override | ClassHandle | IntPtr. The handle for this class. |
ContentEdgeInsets | UIEdgeInsets. The insets or outsets for the RectangleF surrounding this UIButton's contents. | |
[read-only] | CurrentAttributedTitle | Foundation.NSAttributedString. The title currently being displayed by this UIButton, with attributes. Read-only. |
[read-only] | CurrentBackgroundImage | UIImage. The UIImage that is displayed in the background of this UIButton. Read-only. |
[read-only] | CurrentImage | UIImage. The UIImage that is displayed on this UIButton. Read-only. |
[read-only] | CurrentTitle | string. The title currently being displayed by this UIButton. Read-only. |
[read-only] | CurrentTitleColor | UIColor. The color used to display this UIButton's CurrentTitle. Read-only. |
[read-only] | CurrentTitleShadowColor | UIColor. The color being used for this UIButton's title's shadow. Read-only. |
Font | UIFont. The font used for the text of the button. | |
ImageEdgeInsets | UIEdgeInsets. The insets or outsets for the RectangleF around this UIButton's CurrentImage. | |
[read-only] | ImageView | UIImageView. This UIButton's UIImageView. Read-ony. |
LineBreakMode | UILineBreakMode. The line-break mode of the button. | |
ReverseTitleShadowWhenHighlighted | bool. Whether the title shadow should change when this UIButton is highlighted. | |
ShowsTouchWhenHighlighted | bool. Whether this UIButton should glow when tapped. | |
TitleEdgeInsets | UIEdgeInsets. The insets or outsets for the RectangleF around this UIButton's CurrentTitle. | |
[read-only] | TitleLabel | UILabel. The UIView that displays the value of this UIButton's CurrentTitle. Read-only. |
TitleShadowOffset | CoreGraphics.CGSize. The offset used for creating the title's shadow. |
static | AppearanceWhenContainedIn(params Type[])Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy. | |
BackgroundImageForState(UIControlState)The background image used for the specified state. | ||
BackgroundRectForBounds(CoreGraphics.CGRect)The RectangleF in which this UIButton draws its background. | ||
ContentRectForBounds(CoreGraphics.CGRect)The RectangleF in which this UIButton draws its entire content. | ||
static | FromType(UIButtonType)Creates a new UIButton of the specified type. | |
static | GetAppearance<T>()The strongly-typed IUIAppearance for this object. | |
static | GetAppearance<T>(UITraitCollection)Documentation for this section has not yet been entered. | |
static | GetAppearance<T>(UITraitCollection, params Type[])Documentation for this section has not yet been entered. | |
GetAttributedTitle(UIControlState)The title, with style attributes, for the specified state. | ||
ImageForState(UIControlState)The UIImage used for the specified state. | ||
ImageRectForContentRect(CoreGraphics.CGRect)The RectangleF in which this UIButton draws its CurrentImage. | ||
SetAttributedTitle(Foundation.NSAttributedString, UIControlState)Sets the button title with an attributed string for a particular control state. | ||
SetBackgroundImage(UIImage, UIControlState)Sets the background image for the specified button state. | ||
SetImage(UIImage, UIControlState)Sets the image for the specified button state. | ||
SetTitle(string, UIControlState)Sets the title for the specified button state. | ||
SetTitleColor(UIColor, UIControlState)Sets the title color for the specified button state. | ||
SetTitleShadowColor(UIColor, UIControlState)Sets the title shadow color for the specified button state. | ||
Title(UIControlState)The title for the specified button state. | ||
TitleColor(UIControlState)The title color for the specified button state. | ||
TitleRectForContentRect(CoreGraphics.CGRect)The RectangleF in which this UIButton draws its title. | ||
TitleShadowColor(UIControlState)The shadow color of the title for the specified button state. |