Queries the Silverlight focus system to determine which object has focus.
Assembly: System.Windows (in System.Windows.dll)
Silverlight focus has the characteristic that while the focus-reporting events GotFocus and LostFocus are raised asynchronously, the focus returned by GetFocusedElement is determined synchronously. This design attempts to loosen constraints on runtime adjustments to element trees that could result from having to wait for the focus to be determined and moved.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.