// -----------------------------------------------------------------------
//
// Copyright 2015 MIT Licence. See licence.md for more information.
//
// -----------------------------------------------------------------------
namespace Perspex.Controls
{
using Perspex.Collections;
///
/// A control that can use the visual children of another control as its logical children.
///
public interface IReparentingHost : ILogical
{
///
/// Gets a writeable logical children collection from the host.
///
new IPerspexList LogicalChildren { get; }
///
/// Asks the control whether it wants to reparent the logical children of the specified
/// control.
///
/// The control.
///
/// True if the control wants to reparent its logical children otherwise false.
///
bool WillReparentChildrenOf(IControl control);
}
}