https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.primitives.flyoutbase.allowfocuswhendisabled?view=windows-app-sdk-1.8
FlyoutBase.AllowFocusWhenDisabled Property (Microsoft.UI.Xaml.Controls.Primitives) - Windows App...
Gets or sets a value that specifies whether the control can receive focus when it's disabled.
propertymicrosoftuixamlcontrols