UIRefreshControl.AttributedTitle Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Der Text, der für das Aktualisierungssteuerelement als attributierte Zeichenfolge angezeigt werden soll.
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
Eigenschaftswert
Dieser Wert kann null
sein.
- Attribute
Hinweise
void SetupRefresh (UIRefreshControl refreshControl)
{
refreshControl.AttributedTitle = new NSAttributedString ("Pull to Refresh",
font: UIFont.FromName ("ChalkboardSE-Bold", 24.0f),
foregroundColor: UIColor.Red);
}
Dieses Element nimmt am Formatierungssystem teil UIAppearance . Weitere Informationen finden Sie in der Appearance -Eigenschaft und der AppearanceWhenContainedIn(Type[]) -Methode.