protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); ConnectedAnimationService service = ConnectedAnimationService.GetForCurrentView(); service.GetAnimation("InitToWaitingRoomTextBlockConnectedAnimation")?.TryStart(TextBlock_UserName); service.GetAnimation("PlayingRoomToWaitingRoomTextBlockConnectedAnimation")?.TryStart(TextBlock_UserName); RegisterEvent(); }
protected override void OnUsingConnectedAnimation(ConnectedAnimationService service) { service.GetAnimation("image")?.Also(it => { it.TryStart(_animationImageElement); _animationImageElement = null; }); }
protected override void OnUsingConnectedAnimation(ConnectedAnimationService service) { var imageAnimation = service.GetAnimation("image"); if (imageAnimation != null && _animateImage != null) { imageAnimation.TryStart(_animateImage); _animateImage = null; } }
protected override void OnUsingConnectedAnimation(ConnectedAnimationService service) { base.OnUsingConnectedAnimation(service); service.GetAnimation("text")?.TryStart(TextBlock); }
protected override void OnUsingConnectedAnimation(ConnectedAnimationService service) { service.GetAnimation("image")?.TryStart(DetailImage); }