using System;

namespace Avalonia.VisualTree
{
    /// <summary>
    /// Interface for controls that host their own separate visual tree, such as popups.
    /// </summary>
    [Obsolete]
    public interface IVisualTreeHost
    {
        /// <summary>
        /// Gets the root of the hosted visual tree.
        /// </summary>
        /// <value>
        /// The root of the hosted visual tree.
        /// </value>
        IVisual? Root { get; }
    }
}
