UIRefreshControl.AttributedTitle Propriedade
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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 .