feat: enhancement.

This commit is contained in:
Zhang Dian
2024-09-12 18:48:26 +08:00
parent ea385ee194
commit 850339f324
3 changed files with 6 additions and 16 deletions

View File

@@ -66,7 +66,7 @@ public abstract class WindowMessageManager : TemplatedControl
public virtual void Uninstall()
{
if(Parent is AdornerLayer adornerLayer)
if (Parent is AdornerLayer adornerLayer)
{
adornerLayer.Children.Remove(this);
AdornerLayer.SetAdornedElement(this, null);