FocusManager.FindLastFocusableElement(DependencyObject) 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.
Retrieves the last element that can receive focus based on the specified scope.
public:
static DependencyObject ^ FindLastFocusableElement(DependencyObject ^ searchScope);
static DependencyObject FindLastFocusableElement(DependencyObject const& searchScope);
public static DependencyObject FindLastFocusableElement(DependencyObject searchScope);
function findLastFocusableElement(searchScope)
Public Shared Function FindLastFocusableElement (searchScope As DependencyObject) As DependencyObject
Parameters
- searchScope
- DependencyObject
The root object from which to search. If null, the search scope is the current window.
Returns
The last focusable object.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|