private void ResetHeight(RowDefinition rowDefinition)
 {
     if (rowDefinition != null)
     {
         if (DependencyPropertyHelper.GetValueSource(rowDefinition, RowDefinition.HeightProperty).BaseValueSource == BaseValueSource.Local)
         {
             rowDefinition.ClearValue(RowDefinition.HeightProperty);
         }
     }
 }