WKInterfaceButton.SetTitle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetTitle(NSAttributedString) |
Sets the title to formatted text. |
SetTitle(String) |
Sets the title text of the button. |
SetTitle(NSAttributedString)
Sets the title to formatted text.
[Foundation.Export("setAttributedTitle:")]
public virtual void SetTitle (Foundation.NSAttributedString attributedTitle);
abstract member SetTitle : Foundation.NSAttributedString -> unit
override this.SetTitle : Foundation.NSAttributedString -> unit
Parameters
- Attributes
Remarks
The attributedTitle
may not contain any NSTextAttachment objects.
Applies to
SetTitle(String)
Sets the title text of the button.
[Foundation.Export("setTitle:")]
public virtual void SetTitle (string title);
abstract member SetTitle : string -> unit
override this.SetTitle : string -> unit
Parameters
- Attributes