Browse Source

Move TryGetPlatformHandle to TopLevel Fix 3

pull/11474/head
FitDev 3 years ago
parent
commit
b1769a0356
  1. 4
      src/Avalonia.Controls/TopLevel.cs

4
src/Avalonia.Controls/TopLevel.cs

@ -375,7 +375,7 @@ namespace Avalonia.Controls
/// Gets the platform-specific window implementation.
/// </summary>
public ITopLevelImpl? PlatformImpl { get; private set; }
/// <summary>
/// Trys to get the platform handle for the TopLevel-derived control.
/// </summary>
@ -383,7 +383,7 @@ namespace Avalonia.Controls
/// An <see cref="IPlatformHandle"/> describing the window handle, or null if the handle
/// could not be retrieved.
/// </returns>
public IPlatformHandle? TryGetPlatformHandle() => ((IWindowBaseImpl?) PlatformImpl)?.Handle;
public IPlatformHandle? TryGetPlatformHandle() => ((IWindowBaseImpl?) PlatformImpl)?.Handle;
/// <summary>
/// Gets the renderer for the window.

Loading…
Cancel
Save