Browse Source

Move TryGetPlatformHandle to TopLevel Fix 2

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

9
src/Avalonia.Controls/TopLevel.cs

@ -385,15 +385,6 @@ namespace Avalonia.Controls
/// </returns>
public IPlatformHandle? TryGetPlatformHandle() => ((IWindowBaseImpl?) PlatformImpl)?.Handle;
/// <summary>
/// Trys to get the platform handle for the TopLevel-derived control.
/// </summary>
/// <returns>
/// An <see cref="IPlatformHandle"/> describing the window handle, or null if the handle
/// could not be retrieved.
/// </returns>
public IPlatformHandle? TryGetPlatformHandle() => PlatformImpl?.Handle;
/// <summary>
/// Gets the renderer for the window.
/// </summary>

Loading…
Cancel
Save