Compartilhar via


UIRefreshControl.AttributedTitle Propriedade

Definição

O texto a ser mostrado para o controle de atualização como uma cadeia de caracteres atribuída.

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

Valor da propriedade

Este valor pode ser null.

Atributos

Comentários

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

Esse membro participa do UIAppearance sistema de estilo. Consulte a Appearance propriedade e o AppearanceWhenContainedIn(Type[]) método .

Aplica-se a