UIRefreshControl.AttributedTitle Property
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.
The text to show for the refresh control as an attributed string.
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
Property Value
This value can be null
.
- Attributes
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.