Freigeben über


UIRefreshControl.AttributedTitle Eigenschaft

Definition

Der Text, der für das Aktualisierungssteuerelement als attributierte Zeichenfolge angezeigt werden soll.

public virtual Foundation.NSAttributedString AttributedTitle { [Foundation.Export("attributedTitle", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setAttributedTitle:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.AttributedTitle : Foundation.NSAttributedString with get, set

Eigenschaftswert

Dieser Wert kann null sein.

Attribute

Hinweise

void SetupRefresh (UIRefreshControl refreshControl)
{
    refreshControl.AttributedTitle = new NSAttributedString ("Pull to Refresh", 
    	font: UIFont.FromName ("ChalkboardSE-Bold", 24.0f),
	foregroundColor: UIColor.Red);
}

Dieses Element nimmt am Formatierungssystem teil UIAppearance . Weitere Informationen finden Sie in der Appearance -Eigenschaft und der AppearanceWhenContainedIn(Type[]) -Methode.

Gilt für: