diff --git a/src/Avalonia.Visuals/RelativePoint.cs b/src/Avalonia.Visuals/RelativePoint.cs
index 2e8fb16bc1..ebd0ba9351 100644
--- a/src/Avalonia.Visuals/RelativePoint.cs
+++ b/src/Avalonia.Visuals/RelativePoint.cs
@@ -177,5 +177,16 @@ namespace Avalonia
unit);
}
}
+
+ ///
+ /// Returns a String representing this RelativePoint instance.
+ ///
+ /// The string representation.
+ public override string ToString()
+ {
+ return _unit == RelativeUnit.Absolute ?
+ _point.ToString() :
+ string.Format(CultureInfo.InvariantCulture, "{0}%, {1}%", _point.X * 100, _point.Y * 100);
+ }
}
}