UIKit.UIRefreshControl.AttributedTitle Property
The text to show for the refresh control as an attributed string.

Syntax

[get: Foundation.Export("attributedTitle")]
[set: Foundation.Export("setAttributedTitle:")]
public virtual Foundation.NSAttributedString AttributedTitle { get; set; }

Value

This value can be null.

Remarks

C# Example

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 UIKit.UIAppearance styling system. See the UIRefreshControl.Appearance property and the UIRefreshControl.AppearanceWhenContainedIn method.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0