We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da3004d commit bfff7d9Copy full SHA for bfff7d9
src/Avalonia.Controls/Window.cs
@@ -255,6 +255,11 @@ public Window(IWindowImpl impl)
255
[CanBeNull]
256
public new IWindowImpl PlatformImpl => (IWindowImpl)base.PlatformImpl;
257
258
+ /// <summary>
259
+ /// Gets a collection of child windows owned by this window.
260
+ /// </summary>
261
+ public IReadOnlyList<Window> OwnedWindows => _children.Select(x => x.child).ToList();
262
+
263
/// <summary>
264
/// Gets or sets a value indicating how the window will size itself to fit its content.
265
/// </summary>
0 commit comments