SilverFlow.Controls.FloatingWindow.Maximizing_Completed C# (CSharp) Method

Maximizing_Completed() private method

Handles the Completed event of the Maximizing animation.
private Maximizing_Completed ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void
        private void Maximizing_Completed(object sender, EventArgs e)
        {
            maximizingStoryboard.Stop();
            maximizingStoryboard.Remove(this);

            this.Width = HostPanel.ActualWidth;
            this.Height = HostPanel.ActualHeight;
            this.Position = new Point(0, 0);

            Focus();
            OnMaximized(EventArgs.Empty);
        }
FloatingWindow