Browse Source

Move CreateLayoutManager to be next to other methods.

pull/1014/head
Jeremy Koritzinsky 8 years ago
committed by GitHub
parent
commit
5f31c3589c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      src/Avalonia.Controls/TopLevel.cs

7
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);
}
/// <summary>
/// Creates the layout manager for this <see cref="TopLevel" />.
/// </summary>
protected virtual ILayoutManager CreateLayoutManager() => new LayoutManager();
/// <summary>
/// Handles a paint notification from <see cref="ITopLevelImpl.Resized"/>.

Loading…
Cancel
Save