diff --git a/src/Avalonia.Controls/TopLevel.cs b/src/Avalonia.Controls/TopLevel.cs index dc15ba2a6f..54ee31e897 100644 --- a/src/Avalonia.Controls/TopLevel.cs +++ b/src/Avalonia.Controls/TopLevel.cs @@ -385,15 +385,6 @@ namespace Avalonia.Controls /// public IPlatformHandle? TryGetPlatformHandle() => ((IWindowBaseImpl?) PlatformImpl)?.Handle; - /// - /// Trys to get the platform handle for the TopLevel-derived control. - /// - /// - /// An describing the window handle, or null if the handle - /// could not be retrieved. - /// - public IPlatformHandle? TryGetPlatformHandle() => PlatformImpl?.Handle; - /// /// Gets the renderer for the window. ///