UIRefreshControl.AttributedTitle プロパティ

定義

属性付き文字列として更新コントロールに表示するテキスト。

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

プロパティ値

この値は、null の場合もあります。

属性

注釈

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

このメンバーは、スタイルシステムに UIAppearance 参加します。 Appearanceプロパティと メソッドをAppearanceWhenContainedIn(Type[])参照してください。

適用対象