|
|
|
@ -66,6 +66,12 @@ namespace Perspex.Layout |
|
|
|
/// </summary>
|
|
|
|
public class Layoutable : Visual, ILayoutable |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// Defines the <see cref="DesiredSize"/> property.
|
|
|
|
/// </summary>
|
|
|
|
public static readonly PerspexProperty<Size> DesiredSizeProperty = |
|
|
|
PerspexProperty.RegisterDirect<Layoutable, Size>(nameof(DesiredSize), o => o.DesiredSize); |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Defines the <see cref="Width"/> property.
|
|
|
|
/// </summary>
|
|
|
|
@ -249,7 +255,7 @@ namespace Perspex.Layout |
|
|
|
public Size DesiredSize |
|
|
|
{ |
|
|
|
get; |
|
|
|
set; |
|
|
|
private set; |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|