We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To reproduce:
textBlock.AddText("Hello", styleWithNoFontFamilySet);
Observe - Exception provides confusing information which does not lead the user to solve the problem.
System.InvalidOperationException: 'Exception in BuildFontRuns() with original length of 1 now 1, style run count 1, font run count 0,
Expected - Exception should perform a null check and provide information to the user such as
System.InvalidOperationException: 'Style used to draw text includes a null FontFamily value. FontFamily must be set to a non-null, valid font'
Additional information: This issue was referenced in conversation in another topic: #43 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
To reproduce:
textBlock.AddText("Hello", styleWithNoFontFamilySet);
Observe - Exception provides confusing information which does not lead the user to solve the problem.
Expected - Exception should perform a null check and provide information to the user such as
Additional information:
This issue was referenced in conversation in another topic:
#43 (comment)
The text was updated successfully, but these errors were encountered: