Hello,
Welcome to our Microsoft Q&A platform!
To use the FocusManager
in xaml, please add an XML namespace declaration for the Xamarin.Forms.Platform.WPF assembly and namespace.
<wpf:FormsApplicationPage ...
xmlns:wpf="clr-namespace:Xamarin.Forms.Platform.WPF;assembly=Xamarin.Forms.Platform.WPF">
<wpf:FocusManager .../>
</wpf:FormsApplicationPage>
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.