Edit

Share via


UIButton.GetAttributedTitle(UIControlState) Method

Definition

The title, with style attributes, for the specified state.

[Foundation.Export("attributedTitleForState:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSAttributedString GetAttributedTitle (UIKit.UIControlState state);
abstract member GetAttributedTitle : UIKit.UIControlState -> Foundation.NSAttributedString
override this.GetAttributedTitle : UIKit.UIControlState -> Foundation.NSAttributedString

Parameters

state
UIControlState

The control state.

Returns

Attributes

Applies to