Condividi tramite


WKInterfaceButton.SetTitle Metodo

Definizione

Overload

SetTitle(NSAttributedString)

Imposta il titolo su testo formattato.

SetTitle(String)

Imposta il testo del titolo del pulsante.

SetTitle(NSAttributedString)

Imposta il titolo su testo formattato.

[Foundation.Export("setAttributedTitle:")]
public virtual void SetTitle (Foundation.NSAttributedString attributedTitle);
abstract member SetTitle : Foundation.NSAttributedString -> unit
override this.SetTitle : Foundation.NSAttributedString -> unit

Parametri

attributedTitle
NSAttributedString

Testo formattato da visualizzare.

Questo parametro può essere null.

Attributi

Commenti

L'oggetto attributedTitle potrebbe non contenere NSTextAttachment oggetti.

Si applica a

SetTitle(String)

Imposta il testo del titolo del pulsante.

[Foundation.Export("setTitle:")]
public virtual void SetTitle (string title);
abstract member SetTitle : string -> unit
override this.SetTitle : string -> unit

Parametri

title
String

Testo da visualizzare sul pulsante.

Questo parametro può essere null.

Attributi

Si applica a