From c2ab39e6dbda5ef887b3f37aad9c692eafebe0e7 Mon Sep 17 00:00:00 2001 From: FitDev Date: Mon, 22 May 2023 12:14:19 +0300 Subject: [PATCH] Move TryGetPlatformHandle to TopLevel Fix 2 --- src/Avalonia.Controls/TopLevel.cs | 9 --------- 1 file changed, 9 deletions(-) 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. ///