MicrosoftDocs / winrt-api

WinRT reference content for developing Microsoft Universal Windows Platform (UWP) apps
Creative Commons Attribution 4.0 International
227 stars 493 forks source link

[FocusManager] Document that some API only works for UWP #2463

Closed citelao closed 1 month ago

citelao commented 4 months ago

WinUI3 does not support FocusManager.GetFocusedElement(); you must call the overload FocusManager.GetFocusedElement(XamlRoot). This change documents this requirement.

See FocusManager.GetFocusedElement() always returns null #3484.