// ----------------------------------------------------------------------- // // Copyright 2014 MIT Licence. See licence.md for more information. // // ----------------------------------------------------------------------- namespace Perspex.Input { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public interface IFocusManager { IInputElement Current { get; } IFocusScope Scope { get; } void Focus(IInputElement focusable); /// /// Notifies the focus manager of a change in focus scope. /// /// The new focus scope. /// /// This should not be called by client code. It is called by an /// when it activates, e.g. when a Window is activated. /// void SetFocusScope(IFocusScope scope); } }