Skip to content

Discussion: WinUI 3.0 XAML Designer #5917

Open

Description

@GeorgeKerwood

Please forgive the faux pas if readdressing closed issues is not the "done thing", however with the release of Windows App SDK 1.0.0 I was surprised to still not see any timeline or discussion on this point. With reference to #3656 and #3644, Visual Studio XAML Designer does not support WinUI 3.0.

Respectfully, this is a crippling barrier to entry which for most intents and purposes renders the framework unadoptable.

I would be grateful to hear if there were plans to support graphical xaml design within VS, Blend or equivalent and if so on what timeline? Interim alternatives or "work arounds" would also be very helpful.

Kind Regards

Activity

  1. ghost added
    needs-triage
    on Sep 19, 2021
  2. kmgallahan commented on Sep 19, 2021

    @kmgallahan
    Contributor

    IMO, Hot Reload and Live Visual Tree are fine - especially considering the effort/hours needed to support a separate designer, while also trying to make any meaningful progress on the ~2100 open issues.

    The team also mentioned this is the direction that want to go instead of making a designer, but I can't remember exactly where this was stated.

  3. Symbai commented on Sep 20, 2021

    @Symbai

    and if so on what timeline?

    In the past they said a designer is not planned for 1.0 and not planned for the near future. At the current broken state of WinUI I would also rather focus them on fixing bugs. I mean you cannot even set a window title without using workarounds 🤦‍♂️

  4. GeorgeKerwood commented on Sep 20, 2021

    @GeorgeKerwood
    Author

    IMO, Hot Reload and Live Visual Tree are fine.

    Kevin Gallahan (@kmgallahan) I'd be inclined to agree with you however, so far I've found neither to be supported by the "WinUI 3 in UWP" or "WinUI 3 in Desktop" project types provided by the Windows App SDK Extension. I'd imagine you've been succeeding with with WinUI 2 in UWP Apps? Am I missing something? Thanks

  5. kmgallahan commented on Sep 20, 2021

    @kmgallahan
    Contributor

    GeorgeKerwood I won't try to identify all the versions and periods of time where Live Visual Tree & Hot Reload have and haven't worked, but as of right now using the latest version of VS 2019 with WindowsAppSDK 1.0.0-preview1 they are both functioning in a WinUI 3 Desktop / Win32 app. That includes hot reload for both XAML and CS (while debugging managed code only).

    My point was more to say that since those are the things the team is investing time into, I'm fine with using them going forward.

  6. GeorgeKerwood commented on Sep 21, 2021

    @GeorgeKerwood
    Author

    Kevin Gallahan (@kmgallahan) Thank you for the input. Updating to the very latest VS 2019 brought both Hot Reload and LVT to life. I agree that together they serve the graphic design purpose for the interim.

    The team also mentioned this is the direction that want to go instead of making a designer, but I can't remember exactly where this was stated.

    Personally, I'd still like to see a designer in the long term since I find it a more time efficient way of generating xaml, however I can see both sides.

  7. StephenLPeters commented on Sep 22, 2021

    @StephenLPeters
    Contributor
  8. MEK3DK commented on Sep 24, 2021

    @MEK3DK

    Kevin Gallahan (@kmgallahan) Hot reload still has issues in WinUI 3, like this one: #5944

    GeorgeKerwood I agree that in order to enable a large number of developers (especially people who just try WinUI 3 or people who are not proffesional developers) to use WinUI 3 the designer is needed.
    However as Symbai mentions even basic stuff does not work atm so something non-critical is a long way off. You can also not set width and heigth of a window without workarounds :-)

  9. sonnemaf commented on Nov 13, 2021

    @sonnemaf
    Contributor

    I think not having a Designer in Visual Studio 2022 and Blend for Visual Studio is a big mistake. It will withhold WPF and Windows Forms developers to switch to WinUI3. Having Xaml Hot Reload and Xaml Live Preview is not an alternative. I do 95% of my XAML development (WPF and UWP) in the XAML Code Editor. But I can't live without the 5% I do in the Designer. The productivity loss I will have is enormous. Let me give you a few examples of what I use the designer for and what I can't do in the XAML Code editor. Please implement the Designer for WinUI3 soon. It is even not on the planboard, not even in the backlog. I have submitted a new idea for it. Hopefully it will be picked-up soon so others can upvote it.

    Add/Delete/Move Columns and Rows to/from a Grid

    In the Designer you can easily Add/Delete/Move Columns and Rows to/from a Grid. If you do so it will update the Column/Row attached properties of all elements inside the Grid. You don't want to do this manually. It is a real productivity boost.

    image

    It would really be nice if the XAML Designer for UWP would display the RowSpacing and ColumnSpacing properties of a Grid and the Spacing of a StackPanel.

    Create Storyboards

    You can easily create Storyboards in Blend for Visual Studio using a "recorder". Something you can't do in Visual Studio (which I find stupid). The Objects and Timeline (aka Document Outline Window) has a special '+' button for it.

    image

    The recorder let's you create KeyFrames and easily select easing functions for it.

    image

    You don't want to create a storyboard in the XAML Code Editor by hand. A Storyboard is often very large piece of XAML which is very difficult to write by hand, especially the begin and end times of all keyframes.

    Visual States

    I can easily create Visual States using Blend for Visual Studio. For each Visual State I can add Triggers, Setters and Storyboards. I can even record the Storyboard and use transitions.

    image

    You don't want to create Visual States in the XAML Code Editor by hand. Especially the ones which have Storyboards. Most of the Visual States in control Templates are still using Storyboards, not the 'new' Setters.

    image

    Add Behaviors

    You can add Behaviors in Blend for Visual Studio using the Assets Window. Something you can't do in Visual Studio (which I find also stupid). You get a visual feedback when a Behavior can or can't be dropped on an element. You can als

    image

    The Property Window of Visual Studio just doesn't show all properties of an Behavior. For example I can't select the Storyboard for this ControlStoryboardAction. Something I can do in the Designer of Blend.
    image

    You don't want to add Behaviors in the XAML Code Editor by hand.

    XAML Designer Suggested Actions

    They work great. They are new. Why abandon them?
    image

    Edit Template and Additional Templates

    Only in the designer you can easily create templates. I don't know how else I would create one. I never do this in the XAML Code Editor.
    image

    Many small features

    Setting the Order, Alignment and Layout (most often Reset All). You don't want to set the z-order manually.
    image

    Add/Edit Flyouts
    image

    Show Designer in different resolutions, scaling and orientation
    image

    XAML Design Time Data
    https://docs.microsoft.com/en-us/visualstudio/xaml-tools/xaml-designtime-data?view=vs-2022

  10. StephenLPeters commented on Nov 15, 2021

    @StephenLPeters
    Contributor
  11. jschroedl commented on Nov 18, 2021

    @jschroedl

    I'm with Fons Sonnemans (@sonnemaf) on this one. I use Blend for adding Behaviors, cloning and customizing themes and templates for controls. I would also want to manage visual states if WinUI has those. So much of what I know now re: WPF has come via the designer and blend. I would make changes and look at what happened to the XAML. I am planning the approach for migrating a WPF-based application to WinUI and had expected that there would be designer and/or Blend support for that XAML as well. It's a shock that it's not there.

    XAML hot reload does not work for my app btw as it contains some C++/CLI code for interop with a large body of native code. The hot reload does not work with my project because of the lack of support for /clr code. ie. Edit and Continue is not supported for my project.

  12. 412 remaining items

  13. Noemata commented on Apr 7, 2026

    @Noemata

    For Microsoft staffers that may eventually look at this thread, many of us have moved onto Apple's tech stack. You're about to lose a significant chunk of Europe soon. Eventually, the departures away from Microsoft tech will become irreversible and hugely compromizing.

  14. dotMorten commented on Jun 17, 2026

    @dotMorten
    Contributor

    I've been talking to a lot of people who've been asking for a WinUI designer, and what has become clear is that no one I talked to actually wants a designer - they want a previewer. No one seems to want to be able to drag elements on there or move them around. They all know from WPF it always messes up your XAML anyway.
    The way it's been used has been as a previewer, so as you're typing your XAML it helps you visualize what you're doing and rough in your UI Layout. It's the first step in building up your UI.
    Hot Reload doesn't really work for building up your UI - it only allows limited changes before you have to restart the app - however it is great for pixel-perfecting your UI, so the previewer and hot reload can work great together for two different stages in the UI design flow.

    Are anyone here wanting a full-on design experience, or just preview support?

    My suggestion to the team building this is to just focus on the preview flow, and not the design flow to make this a much more feasible feature to ship. At the very least as a minimum-ship requirement.

  15. MPITech commented on Jun 17, 2026

    @MPITech

    Are anyone here wanting a full-on design experience, or just preview support?

    My suggestion to the team building this is to just focus on the preview flow, and not the design flow to make this a much more feasible feature to ship. At the very least as a minimum-ship requirement.

    A full-on design experience would be ideal but I understand the complications in creating this. But preview support without having to compile and run each time would be more than welcome!

  16. mdtauk commented on Jun 18, 2026

    @mdtauk
    Contributor

    When it comes to drag and drop, it should ideally be the same as typing for example

    <TextBox>
    </TextBox>

    At that position in the xaml element the thing is dropped on. No assuming padding and margin, that is what the properties panel is for. For Grid, I think appending Grid.Row and Grid.Column makes sense however.

  17. sonnemaf commented on Jun 19, 2026

    @sonnemaf
    Contributor

    I really want a designer experience. Not full, I don't need drag&drop of controls. I want it to modify properties, add columns, create&edit styles and templates. Create resources. See here. But I realize that this will not happen.

    In a UWP app you can still use the Properties in the XAML editor. This is so useful. It makes setting complex properties so much easier. From there I can convert them into resources. Please let me have this.
    Image

    As an alternative the XAML editor could get Refactoring's:

    • Extract resource for this occurrence & all local occurrences (similar to the C# editor 'Extract local/constant' refactor)
    • Copy Style
    • Copy Template
    • Add Column Before or After in Grid
    • Create Gradient
    • Delete Column in Grid
    • Reset All (Margin, Width, Height)
    • Create VisualStates
    • Rename (changing x:Name and all usages)
    • Set design data
    • Create a theme with an accent color (Fluent XAML Theme Editor)
    • Extract value to Resource (resw) file and set x:Uid
    • Change LayoutType (from StackPanel to Grid, etc)

    And/or make the AI smart enough to execute these tasks (some it can). But that is less discoverable.

    A previewer would help me if I could easily switch between dark & light themes and different window sizes. In Blend we had a Device tab for it. That was really handy.
    Image

    I just want productivity a previewer is not helping in this. It only shows how it will look. I want help to get the XAML created. The team should focus on productivity. If I want to see how my app looks like I will start it.

  18. mdtauk commented on Jun 19, 2026

    @mdtauk
    Contributor

    I remember the days of Microsoft Expression Blend, with its sample data UI, timeline and visual state editing, ability to edit the templates of controls visually, and simple ways to create copies of existing templates etc.

  19. suchislife801 commented on Jun 22, 2026

    @suchislife801

    Hmmm.... I wonder which step Microsoft is on.... Who could guess...

    Understanding Enshittification in Tech Companies

    Definition of Enshittification

    Enshittification describes the process where online platforms decline in quality as they prioritize profits over user experience. This often results in a degradation of services for both users and vendors. The term was coined by Cory Doctorow and has gained recognition in discussions about the challenges faced by tech companies.

    Key Characteristics of Enshittification

    • Initial Quality: Platforms start with high-quality offerings to attract users.
    • Profit Focus: Over time, they shift focus to serve business customers, leading to a decline in service quality.
    • User Experience Decline: Eventually, both user and vendor experiences deteriorate as companies maximize short-term profits.

    Impact on Tech Companies

    Enshittification has significant implications for tech companies, including:

    • User Trust Erosion: As platforms degrade, users may lose trust and seek alternatives.
    • Market Competition: The decline in quality can lead to a lack of competition, as users feel trapped in subpar services.
    • Labor Relations: The concept also extends to gig economy platforms, where working conditions for independent contractors worsen over time.

    Examples of Enshittification

    Platform Initial Quality Current State Impact on Users
    Facebook High engagement Cluttered with ads Difficulty in finding genuine content
    Amazon Wide selection Increased fees and shipping costs Frustration over service quality
    Uber Efficient rides Poor treatment of drivers Decreased job satisfaction for gig workers

    Understanding enshittification helps in recognizing the broader socio-economic processes that can reshape digital platforms and labor markets.

  20. soroshsabz commented on Jun 26, 2026

    @soroshsabz

    Beth Pan (@beth-panx) as you close #9417 (comment)

    you can see one big problem in WinUI ecosystem, you can see very critical comments like

    So if you want to get a chance to WinUI, you have to add great Visual Designer, to get back Visual Studio, visual.

  21. QKD-Dev commented on Jul 22, 2026

    @QKD-Dev

    It takes the "R" out of R.A.D.

  22. lextm commented on Jul 27, 2026

    @lextm

    XAML Studio (open-sourced by Microsoft in Jan 2026) provides the foundation.

    I already got some early results with OpenDevelop, so it shouldn't be that difficult to improve it further for Windows developers.

    Image
  23. added
    team-Core
    on Sep 15, 2026
  24. 0x5bfa commented on Oct 22, 2026

    @0x5bfa
    Contributor

    Hey guys, I've made a VSIX for WinUI 3 designer fully compatible with the Visual Studio designer view, it works exact the same way as WPF and UWP.

    This proves there's nothing that prevents WinUI and Visual Studio devs from developing the official one, the core infrastructure is already there and pretty solid enough. They recently and silently introduced a new designer API (DesignerOutputHost); it just works on my end and may be an indication of them privately working on it, though.

    There're a few limitations but all of them can be resolved (just up to me). VS2022 support is WIP rn. If you have VS 2026, give it a try and leave a feedback in the GitHub repository here https://github.com/0x5bfa/WinUIDesigner.

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Toolingdiscussionfeature proposalproduct-winui3team-Coreteam-Markup

    Type

    No type

    Projects

    • Status
      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions