-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Obsolete Named FontSize Values in XAML are Suggested by IntelliSense #33560
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
area-xamlXAML, CSS, Triggers, BehaviorsXAML, CSS, Triggers, Behaviorss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
This issue has been moved from a ticket on Developer Community.
[severity:It's more difficult to complete my work]
If you edit a XAML object with a FontSize property the suggested values are strings like "Large", "Medium" and so on. If you use one of these and turn on XAML->CS generation by setting MauiXamlInflator to SourceGen in the project file you get "Obsolete" warnings (see #33466). It looks like the intent was to make named values obsolete as of four years ago (see pull request #5088). With this in mind it seems like a bad idea to have IntelliSense suggesting named sizes.
Original Comments
Feedback Bot on 1/16/2026, 11:17 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-xamlXAML, CSS, Triggers, BehaviorsXAML, CSS, Triggers, Behaviorss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working