Browse Source

child window collection

pull/7622/head
Luis von der Eltz 5 years ago
parent
commit
563f313eb5
  1. 5
      src/Avalonia.Controls/Window.cs

5
src/Avalonia.Controls/Window.cs

@ -255,6 +255,11 @@ namespace Avalonia.Controls
/// </summary>
public new IWindowImpl? PlatformImpl => (IWindowImpl?)base.PlatformImpl;
/// <summary>
/// Gets a collection of child windows owned by this window.
/// </summary>
public IReadOnlyList<Window> ChildWindows => _children.Select(x => x.child).ToList();
/// <summary>
/// Gets or sets a value indicating how the window will size itself to fit its content.
/// </summary>

Loading…
Cancel
Save