I can now reproduce the exception: If I pass null to a FontFamily
property via x:Bind
instead of a FontFamily object, I get this message. When using x:Bind you should not pass null.
'Unknown' is not a valid value for property 'FontFamily'
Heiko
1,211
Reputation points
In some installations of my UWP app an unhandled exception is thrown with the text
'Unknown' is not a valid value for property 'FontFamily'.
HResult: 0x800F1001
There is a font selection available for the user in various places in the app.
Does anyone have any idea how the error can occur and how I could fix it?
1 answer
Sort by: Most helpful
-
Heiko 1,211 Reputation points
2022-01-13T12:54:22.227+00:00