A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
383 B

using System;
using Avalonia.Controls.Platform;
using Avalonia.Platform;
namespace IntegrationTestApp.Embedding;
internal class Win32WindowControlHandle : PlatformHandle, INativeControlHostDestroyableControlHandle
{
public Win32WindowControlHandle(IntPtr handle, string descriptor) : base(handle, descriptor) { }
public void Destroy() => WinApi.DestroyWindow(Handle);
}