/// <summary>
 /// Method starts row animation
 /// </summary>
 /// <param name="row"></param>
 /// <param name="startSize"></param>
 /// <param name="endSize"></param>
 /// <param name="duration"></param>
 private void _StartRowAnimation(RowDefinition row, double startSize, double endSize, int duration)
 {
     GridLengthAnimation sizeAnimation = new GridLengthAnimation();
     sizeAnimation.From = new GridLength(startSize, GridUnitType.Pixel);
     sizeAnimation.To = new GridLength(endSize, GridUnitType.Pixel);
     sizeAnimation.Duration = new TimeSpan(0, 0, 0, 0, duration);
     row.BeginAnimation(RowDefinition.HeightProperty, sizeAnimation);
 }
 /// <summary>
 /// Method starts column animation
 /// </summary>
 /// <param name="column"></param>
 /// <param name="startSize"></param>
 /// <param name="endSize"></param>
 /// <param name="duration"></param>
 private void _StartColumnAnimation(ColumnDefinition column, double startSize, double endSize, int duration)
 {
     GridLengthAnimation sizeAnimation = new GridLengthAnimation();
     sizeAnimation.From = new GridLength(startSize, GridUnitType.Pixel);
     sizeAnimation.To = new GridLength(endSize, GridUnitType.Pixel);
     sizeAnimation.Duration = new TimeSpan(0, 0, 0, 0, duration);
     column.BeginAnimation(ColumnDefinition.WidthProperty, sizeAnimation);
 }