Window Xaml Source. Navigate Focus Method
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.
public: virtual XamlSourceFocusNavigationResult ^ NavigateFocus(XamlSourceFocusNavigationRequest ^ request) = NavigateFocus;
XamlSourceFocusNavigationResult NavigateFocus(XamlSourceFocusNavigationRequest const& request);
public XamlSourceFocusNavigationResult NavigateFocus(XamlSourceFocusNavigationRequest request);
Public Function NavigateFocus (request As XamlSourceFocusNavigationRequest) As XamlSourceFocusNavigationResult
An object that specifies the reason and other optional info for the focus navigation.
An object that provides data for the focus navigation request.
When you add a DesktopWindowXamlSource to your desktop application, by default the DesktopWindowXamlSource does not automatically handle focus navigation via keyboard events such as the Tab or arrow keys. Use this method in conjunction with the GotFocus event to programmatically give focus when the user navigates to the DesktopWindowXamlSource.