Exemple #1
0
        async void HideInformationFrame(object sender, System.EventArgs e)
        {
            OpaqueContainer.FadeTo(0, 250);
            InformationFrame.TranslateTo(200, 0, 250, Easing.CubicIn);
            InformationFrame.RotateYTo(90, 250, Easing.CubicIn);
            await InformationFrame.FadeTo(0, 250);

            InformationFrame.IsVisible = false;
            OpaqueContainer.IsVisible  = false;
        }
Exemple #2
0
        async Task ShowInformationFrame()
        {
            if (InformationFrame.IsVisible)
            {
                return;
            }

            InformationFrame.IsVisible = true;
            OpaqueContainer.IsVisible  = true;
            InformationFrame.RotateYTo(-90, 0);
            await InformationFrame.TranslateTo(-200, 0, 0);

            OpaqueContainer.FadeTo(0.5, 250);
            InformationFrame.FadeTo(1, 250);
            InformationFrame.RotateYTo(0, 250, Easing.CubicOut);
            await InformationFrame.TranslateTo(0, 0, 250, Easing.CubicOut);
        }