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
DynamicResources
Code doesn't work
The DynamicResources code sample is incorrect.
Here is the updated code sample, it's a Tuple, so it should be enclosed within parentheses.
new Label().DynamicResources((Label.TextColorProperty, "TextColor"), (Label.FontFamilyProperty, "FontFamily"));
https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/markup/extensions/dynamic-resource-handler-extensions
https://github.com/MicrosoftDocs/CommunityToolkit/blob/main/docs/maui/markup/extensions/dynamic-resource-handler-extensions.md
b1bcba50-4c74-adc4-9f15-b989dcaced01
@brminnick
The text was updated successfully, but these errors were encountered:
Thanks Vijay!
Could you submit a quick PR to fix it? I actually don't have admin rights on the docs, but we can get Gerald to merge it 💯
Sorry, something went wrong.
No branches or pull requests
Type of issue
Code doesn't work
Description
The
DynamicResources
code sample is incorrect.Here is the updated code sample, it's a Tuple, so it should be enclosed within parentheses.
Page URL
https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/markup/extensions/dynamic-resource-handler-extensions
Content source URL
https://github.com/MicrosoftDocs/CommunityToolkit/blob/main/docs/maui/markup/extensions/dynamic-resource-handler-extensions.md
Document Version Independent Id
b1bcba50-4c74-adc4-9f15-b989dcaced01
Article author
@brminnick
Metadata
The text was updated successfully, but these errors were encountered: