mirror of
https://github.com/AtomUI/AtomUI.git
synced 2026-10-24 18:23:01 +08:00
12 lines
277 B
C#
12 lines
277 B
C#
using Avalonia.Controls;
|
|
using Avalonia.LogicalTree;
|
|
|
|
namespace AtomUI.Controls.Utils;
|
|
|
|
internal static class ILogicalExtensions
|
|
{
|
|
public static void SetLogicalParent(this ILogical child, ILogical? parent)
|
|
{
|
|
((ISetLogicalParent)child).SetParent(parent);
|
|
}
|
|
} |