Skip to content

Obsolete Named FontSize Values in XAML are Suggested by IntelliSense #33560

@vsfeedback

Description

@vsfeedback

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-xamlXAML, CSS, Triggers, Behaviorss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions