private void RunResponseAnimations() { // Show ResponseSubmittedRoot.Fade(value: 1.0f, duration: 600, delay: 0).Start(); // Hide //HeaderTextBlock.Fade(value: 0.0f, duration: 200, delay: 0).Start(); InviteesRoot.Fade(value: 0.0f, duration: 400, delay: 0).Start(); LunchInfoRoot.Fade(value: 0.0f, duration: 400, delay: 0).Start(); }
private void RunNormalAnimations() { // Show //HeaderTextBlock.Fade(value: 1.0f, duration: 200, delay: 0).Start(); InviteesRoot.Fade(value: 1.0f, duration: 400, delay: 0).Start(); LunchInfoRoot.Fade(value: 1.0f, duration: 400, delay: 0).Start(); DeclineRoot.Fade(value: 1.0f, duration: 0, delay: 0).Start(); AcceptRoot.Fade(value: 1.0f, duration: 0, delay: 0).Start(); // Hide ResponseSubmittedRoot.Fade(value: 0.0f, duration: 400, delay: 0).Start(); // Move AcceptRoot.Offset(offsetX: 0.0f, offsetY: 0.0f, duration: 300, delay: 0).Start(); DeclineRoot.Offset(offsetX: 0.0f, offsetY: 0.0f, duration: 300, delay: 0).Start(); }