UIRefreshControl.AttributedTitle UIRefreshControl.AttributedTitle Property

Definition

The text to show for the refresh control as an attributed string.

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

Property Value

This value can be null.

Remarks


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

This member participates in the UIAppearance styling system. See the Appearance property and the AppearanceWhenContainedIn(Type[]) method.

Applies to