UIKit.UIButton: Method Members

The methods of UIKit.UIButton are listed below. For a list of all members, see the UIButton Members list.

See Also: Inherited members from UIKit.UIControl

Public Methods

static
AppearanceWhenContainedIn(params Type[]) : UIButton.UIButtonAppearance
Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.
BackgroundImageForState(UIControlState) : UIImage
The background image used for the specified state.
BackgroundRectForBounds(CoreGraphics.CGRect) : CoreGraphics.CGRect
The RectangleF in which this UIButton draws its background.
ContentRectForBounds(CoreGraphics.CGRect) : CoreGraphics.CGRect
The RectangleF in which this UIButton draws its entire content.
static
FromType(UIButtonType) : UIButton
Creates a new UIButton of the specified type.
static
GetAppearance<T>() : UIButton.UIButtonAppearance
The strongly-typed IUIAppearance for this object.
static
GetAppearance<T>(UITraitCollection) : UIButton.UIButtonAppearance
Documentation for this section has not yet been entered.
static
GetAppearance<T>(UITraitCollection, params Type[]) : UIButton.UIButtonAppearance
Documentation for this section has not yet been entered.
GetAttributedTitle(UIControlState) : Foundation.NSAttributedString
The title, with style attributes, for the specified state.
ImageForState(UIControlState) : UIImage
The UIImage used for the specified state.
ImageRectForContentRect(CoreGraphics.CGRect) : 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) : string
The title for the specified button state.
TitleColor(UIControlState) : UIColor
The title color for the specified button state.
TitleRectForContentRect(CoreGraphics.CGRect) : CoreGraphics.CGRect
The RectangleF in which this UIButton draws its title.
TitleShadowColor(UIControlState) : UIColor
The shadow color of the title for the specified button state.

Protected Methods

override
Dispose(bool)
Releases the resources used by the UIButton object.