diff --git a/src/Perspex.Layout/Layoutable.cs b/src/Perspex.Layout/Layoutable.cs
index 9930c24614..c804f1a3c7 100644
--- a/src/Perspex.Layout/Layoutable.cs
+++ b/src/Perspex.Layout/Layoutable.cs
@@ -66,6 +66,12 @@ namespace Perspex.Layout
///
public class Layoutable : Visual, ILayoutable
{
+ ///
+ /// Defines the property.
+ ///
+ public static readonly PerspexProperty DesiredSizeProperty =
+ PerspexProperty.RegisterDirect(nameof(DesiredSize), o => o.DesiredSize);
+
///
/// Defines the property.
///
@@ -249,7 +255,7 @@ namespace Perspex.Layout
public Size DesiredSize
{
get;
- set;
+ private set;
}
///