diff --git a/src/Avalonia.Controls/TopLevel.cs b/src/Avalonia.Controls/TopLevel.cs index 80beeda6aa..9fdc097c3f 100644 --- a/src/Avalonia.Controls/TopLevel.cs +++ b/src/Avalonia.Controls/TopLevel.cs @@ -148,8 +148,6 @@ namespace Avalonia.Controls protected set { SetAndRaise(ClientSizeProperty, ref _clientSize, value); } } - protected virtual ILayoutManager CreateLayoutManager() => new LayoutManager(); - public ILayoutManager LayoutManager { get @@ -248,6 +246,11 @@ namespace Avalonia.Controls { return PlatformImpl?.PointToScreen(p) ?? default(Point); } + + /// + /// Creates the layout manager for this . + /// + protected virtual ILayoutManager CreateLayoutManager() => new LayoutManager(); /// /// Handles a paint notification from .