BlurEffect.MainPage.TouchArea_ManipulationCompleted C# (CSharp) Method

TouchArea_ManipulationCompleted() private method

private TouchArea_ManipulationCompleted ( object sender, ManipulationCompletedRoutedEventArgs e ) : void
sender object
e Windows.UI.Xaml.Input.ManipulationCompletedRoutedEventArgs
return void
        void TouchArea_ManipulationCompleted(object sender, ManipulationCompletedRoutedEventArgs e)
        {
            // once the finger lifts up, add another key frame and
            // kick off the finish animation to roll back the visuals' offset
            _animation.InsertKeyFrame(1.0f, 0.0f);
            _visual.StartAnimation("Offset.X", _animation);
            _touchAreaVisual.StartAnimation("Offset.X", _animation);
        }