Skip to content

Commit 54b60a3

Browse files
Update focusmanager_getfocusedelement_1183614552.md
1 parent f73d9af commit 54b60a3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

windows.ui.xaml.input/focusmanager_getfocusedelement_1183614552.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ The object that has focus. Typically, this is a [Control](../windows.ui.xaml.con
2323
## -remarks
2424

2525
> [!WARNING]
26-
> This will always return `null` in WinUI 3, since it relies on CoreWindow APIs that WinUI 3 doesn't support.
26+
> For WinUI 3 apps, this method always returns `null` as it relies on CoreWindow APIs not supported by WinUI 3.
2727
>
28-
> Instead, prefer the [FocusManager.GetFocusedElement(XamlRoot)](./windows.ui.xaml.input.focusmanager.getfocusedelement#windows-ui-xaml-input-focusmanager-getfocusedelement(windows-ui-xaml-xamlroot))
29-
> overload; you can obtain the `XamlRoot` from any loaded UIElement via the [XamlRoot property](/uwp/api/windows.ui.xaml.uielement.xamlroot)
28+
> Instead, use the [FocusManager.GetFocusedElement(XamlRoot)](./windows.ui.xaml.input.focusmanager.getfocusedelement#windows-ui-xaml-input-focusmanager-getfocusedelement(windows-ui-xaml-xamlroot))
29+
> overload, where `XamlRoot` can be retrieved any loaded UIElement through the [XamlRoot](/uwp/api/windows.ui.xaml.uielement.xamlroot) property.
3030
3131
## -examples
3232

0 commit comments

Comments
 (0)