public CredentialPage()
        {
            InitializeComponent();

            var cloudCard1Animation = this.Resources["CloudCard1Animation"] as StoryBoard;

            if (cloudCard1Animation != null)
            {
                CloudCard1.Animate(cloudCard1Animation);
            }

            var cloudCard2Animation = this.Resources["CloudCard2Animation"] as StoryBoard;

            if (cloudCard2Animation != null)
            {
                CloudCard2.Animate(cloudCard2Animation);
            }
        }
Exemple #2
0
        public PaymentPage()
        {
            InitializeComponent();

            PaymentImage.IsVisible = Device.OS == TargetPlatform.Android || Device.OS == TargetPlatform.iOS;

            var cloudCard1Animation = this.Resources["CloudCard1Animation"] as StoryBoard;

            if (cloudCard1Animation != null)
            {
                CloudCard1.Animate(cloudCard1Animation);
            }

            var cloudCard2Animation = this.Resources["CloudCard2Animation"] as StoryBoard;

            if (cloudCard2Animation != null)
            {
                CloudCard2.Animate(cloudCard2Animation);
            }
        }