Skip to content
New issue

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

Proposal: Support the XAML 2009 Schema #7037

Open
DanJBower opened this issue Apr 29, 2022 · 6 comments
Open

Proposal: Support the XAML 2009 Schema #7037

DanJBower opened this issue Apr 29, 2022 · 6 comments
Labels
feature proposal New feature proposal product-winui3 WinUI 3 issues team-Markup Issue for the Markup team

Comments

@DanJBower
Copy link

DanJBower commented Apr 29, 2022

Summary

I noticed in a WinUI 3 project, files like MainWindow.xaml use xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" instead of xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml". It'd be awesome to see support for the latest XAML schema.

Rationale

  • {First reason for why we should consider this proposal}
    It would allow the use of many features which make XAML much easier to write including:

    • x:TypeArguments
    • x:FactoryMethod
    • x:Arguments
    • x:String, x:Int32, etc...
  • {Second reason for why we should consider this proposal}
    2009 was a pretty long time ago. The roadmap / benefits bit of the link in the template talks about modernizing and being the latest advancements. I feel as part of this, support for the latest version of XAML would be a great reason to switch from other frameworks like WPF to WinUI 3.

@DanJBower DanJBower added the feature proposal New feature proposal label Apr 29, 2022
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Apr 29, 2022
@ojhad ojhad added team-Markup Issue for the Markup team product-winui3 WinUI 3 issues labels May 3, 2022
@hez2010
Copy link

hez2010 commented May 15, 2022

Note that MAUI is already using XAML 2009.
I think WinUI 3 should also follow it to allow users to use a more powerful version of XAML.

@shinta0806
Copy link

+1

@danielgruethling
Copy link

How is this still in the freezer? This should have been in at the "release". How can we still use this ancient schema and not have decimal types supported in xaml?

@NotAsea
Copy link

NotAsea commented Mar 29, 2024

How is this still in the freezer? This should have been in at the "release". How can we still use this ancient schema and not have decimal types supported in xaml?

Winui team has already known to be starved resource, they even ignore Visual designer or at least a visual previewer. I doubt Microsoft care enough about their own OS though, as they have committed in Blazor, MAUI and webview2. In the future we will have a bloat Edge render for NT Kernel like what google do with their ChromeOS

@artkat
Copy link

artkat commented Jun 4, 2024

WinUI currently does not support the x:TypeArguments Directive because it does not support XAML 2009. This makes it impossible to make generic controls such as MyUserControl.
When will WinUI support XAML 2009? MAUI and even WPF do support it.

@xperiandri
Copy link

Any progress???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature proposal New feature proposal product-winui3 WinUI 3 issues team-Markup Issue for the Markup team
Projects
None yet
Development

No branches or pull requests

9 participants