// -----------------------------------------------------------------------
//
// Copyright 2015 MIT Licence. See licence.md for more information.
//
// -----------------------------------------------------------------------
namespace Perspex.Controls
{
using Perspex.Input;
using Perspex.Layout;
using Perspex.Styling;
///
/// Interface for Perspex controls.
///
public interface IControl : IVisual, ILogical, ILayoutable, IInputElement, INamed, IStyleable, IStyleHost
{
///
/// Gets or sets the control's data context.
///
object DataContext { get; set; }
///
/// Gets the data templates for the control.
///
DataTemplates DataTemplates { get; }
///
/// Gets the control's logical parent.
///
IControl Parent { get; }
}
}