Delen via


FindNextElementOptions.SearchRoot Property

Definition

Gets or sets the object that must be the root from which to identify the next focus candidate to receive navigation focus.

public:
 property DependencyObject ^ SearchRoot { DependencyObject ^ get(); void set(DependencyObject ^ value); };
DependencyObject SearchRoot();

void SearchRoot(DependencyObject value);
public DependencyObject SearchRoot { get; set; }
var dependencyObject = findNextElementOptions.searchRoot;
findNextElementOptions.searchRoot = dependencyObject;
Public Property SearchRoot As DependencyObject

Property Value

The root object.

If null, the entire visual tree of the app.

Remarks

If one or more transforms are applied to the descendants of SearchRoot that place them outside of the directional area, these elements are still considered candidates.

Applies to

See also