FocusHelper.FocusPossiblyUnloadedElement(FrameworkElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Either sends focus to the FrameworkElement immediately using Focus, or delays focusing the FrameworkElement until it is loaded. The last element pending focus on Loaded will be focused, and all previous FrameworkElements will not be focused.
public:
static void FocusPossiblyUnloadedElement(System::Windows::FrameworkElement ^ element);
public static void FocusPossiblyUnloadedElement (System.Windows.FrameworkElement element);
static member FocusPossiblyUnloadedElement : System.Windows.FrameworkElement -> unit
Public Shared Sub FocusPossiblyUnloadedElement (element As FrameworkElement)
Parameters
- element
- FrameworkElement
The element to focus.