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();
        }
示例#2
0
 protected override void OnUsingConnectedAnimation(ConnectedAnimationService service)
 {
     service.GetAnimation("image")?.Also(it =>
     {
         it.TryStart(_animationImageElement);
         _animationImageElement = null;
     });
 }
示例#3
0
        protected override void OnUsingConnectedAnimation(ConnectedAnimationService service)
        {
            var imageAnimation = service.GetAnimation("image");

            if (imageAnimation != null && _animateImage != null)
            {
                imageAnimation.TryStart(_animateImage);
                _animateImage = null;
            }
        }
示例#4
0
 protected override void OnUsingConnectedAnimation(ConnectedAnimationService service)
 {
     base.OnUsingConnectedAnimation(service);
     service.GetAnimation("text")?.TryStart(TextBlock);
 }
示例#5
0
 protected override void OnUsingConnectedAnimation(ConnectedAnimationService service)
 {
     service.GetAnimation("image")?.TryStart(DetailImage);
 }