AmbientSounds.Controls.LogoControl.ScaleUp C# (CSharp) Method

ScaleUp() private method

private ScaleUp ( object sender, PointerRoutedEventArgs e ) : void
sender object
e PointerRoutedEventArgs
return void
        private void ScaleUp(object sender, PointerRoutedEventArgs e)
        {
            // Source for the scaling: https://github.com/windows-toolkit/WindowsCommunityToolkit/blob/master/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/Implicit%20Animations/ImplicitAnimationsPage.xaml.cs
            // Search for "Scale Element".
            if (sender is UIElement element)
            {
                element.GetVisual().Scale = new Vector3(1.3f, 1.3f, 1);
            }
        }