protected override void OnElementChanged(Xamarin.Forms.Platform.iOS.ElementChangedEventArgs<Xamarin.Forms.Label> e) { base.OnElementChanged (e); if (label == null) { label = new MarqueeLabel (this.Bounds); label.Text = "Hello World this is a Marquee Label. It is a long text. Text End!"; SetNativeControl (label); } }
protected override void OnElementChanged(Xamarin.Forms.Platform.iOS.ElementChangedEventArgs <Xamarin.Forms.Label> e) { base.OnElementChanged(e); if (label == null) { label = new MarqueeLabel(this.Bounds); label.Text = "Hello World this is a Marquee Label. It is a long text. Text End!"; SetNativeControl(label); } }
private Task RestoreOriginalTextAsync(MarqueeLabel songName) { songName.RestoreOriginalText(); return(Task.FromResult(true)); }