Skip to content

Commit

Permalink
Merge branch 'master' into feature/textBlockInlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Gillibald authored Feb 22, 2022
2 parents 9e2773e + 37f7408 commit 52d78df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Avalonia.Controls/Window.cs
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,11 @@ public Window(IWindowImpl impl)
/// </summary>
public new IWindowImpl? PlatformImpl => (IWindowImpl?)base.PlatformImpl;

/// <summary>
/// Gets a collection of child windows owned by this window.
/// </summary>
public IReadOnlyList<Window> OwnedWindows => _children.Select(x => x.child).ToList();

/// <summary>
/// Gets or sets a value indicating how the window will size itself to fit its content.
/// </summary>
Expand Down

0 comments on commit 52d78df

Please sign in to comment.