diff options
Diffstat (limited to 'Xamarin.Forms.ControlGallery.iOS')
-rw-r--r-- | Xamarin.Forms.ControlGallery.iOS/AppDelegate.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Xamarin.Forms.ControlGallery.iOS/AppDelegate.cs b/Xamarin.Forms.ControlGallery.iOS/AppDelegate.cs index 1aed7738..03f145b1 100644 --- a/Xamarin.Forms.ControlGallery.iOS/AppDelegate.cs +++ b/Xamarin.Forms.ControlGallery.iOS/AppDelegate.cs @@ -25,6 +25,10 @@ namespace Xamarin.Forms.ControlGallery.iOS protected override void OnAttached() { Control.BackgroundColor = UIColor.Blue; + + var childLabel = (Element as ScrollView)?.Content as Label; + if (childLabel != null) + childLabel.Text = "Success"; } protected override void OnDetached() |