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

Question: System.Windows.Window part of WinUI? #1684

Closed
HEIC-to-JPEG-Dev opened this issue Nov 27, 2019 · 7 comments
Closed

Question: System.Windows.Window part of WinUI? #1684

HEIC-to-JPEG-Dev opened this issue Nov 27, 2019 · 7 comments
Labels

Comments

@HEIC-to-JPEG-Dev
Copy link

WinUI is looking great and I'm looking forward to translating my WPF apps to use it.

One of the areas we struggle with is System.Windows.Window, specifically all the UWP goodness like control of the title bar, extending the UI into the chrome area.

Will there be a Windows.UI.Xaml.Window with full control similar to UWP ?

@msft-github-bot msft-github-bot added the needs-triage Issue needs to be triaged by the area owners label Nov 27, 2019
@robloo
Copy link
Contributor

robloo commented Nov 27, 2019

Allowing multiple Windows in UWP now WinUI is something that I believe Microsoft promised back at Build 2018.

https://mspoweruser.com/microsoft-finally-makes-it-easier-to-create-multi-window-experiences-in-uwp-apps/

Take a look at AppWindow Preview AppWindow Class Docs

I believe this is coming in WinUI 3.0 now? Never used it myself.

Sounds like you already know about this too:
https://docs.microsoft.com/en-us/windows/uwp/design/shell/title-bar

@HEIC-to-JPEG-Dev
Copy link
Author

Allowing multiple Windows in UWP now WinUI is something that I believe Microsoft promised back at Build 2018.

https://mspoweruser.com/microsoft-finally-makes-it-easier-to-create-multi-window-experiences-in-uwp-apps/

Take a look at AppWindow Preview AppWindow Class Docs

I believe this is coming in WinUI 3.0 now? Never used it myself.

Sounds like you already know about this too:
https://docs.microsoft.com/en-us/windows/uwp/design/shell/title-bar

I asked if this was coming to WPF, not UWP - we already have this in UWP as you mentioned.

@shaheedmalik
Copy link

WinUI is the where everything is moving to.

@Kinnara
Copy link
Contributor

Kinnara commented Nov 27, 2019

There are some WPF libraries that implement the "ExtendViewIntoTitleBar" feature. Just to name a couple:

@lukeblevins
Copy link
Contributor

Hey guys. Glad to see I'm not the only one hoping for a UWP-Style Window control in WinUI. In case anyone is curious, I previously filed a report asking about this where I received a response. Unifying the windows across all WinUI apps would improve consistency and help with other projects such as Windows Terminal where what appears to be a custom window is in use.

Really hoping to see work done in this area for either v3.0 or 3.1

@mdtauk
Copy link
Contributor

mdtauk commented Nov 27, 2019

It would be good to have some "proper" design resources, based around building core elements of an app, and showing how the Windows Shell of the future, and Inbox Apps which should be held up as exemplar for best practice - design and build those UI bits.

Common dialogs, Common navigation patterns, Common templates, etc.

There should be templates for adding common Content Dialogs, menus, flyouts - with code and behavioural guidance which can be copy and pasted into an app.

Anyway, back to the core of this issue. I made a discussion issue #1323 precisely about top level elements coming to WinUI, including a Window element. This seems like a WPF ask, rather than a WinUI ask, but WinUI for Desktop should have access to these things.

@jevansaks
Copy link
Member

jevansaks commented Nov 27, 2019

Do I understand that the original question is about bringing CoreApplicationView capabilities to WPF's Window? I think such a question/discussion should be asked in the https://github.com/dotnet/wpf repo.

WinUI will be bringing its own top-level Window abstraction for the WinUI Desktop scenario and, where possible, it will do the things that you could do in UWP like drawing in the title bar. What the full API and feature set looks like is not yet determined.

@msft-github-bot msft-github-bot removed the needs-triage Issue needs to be triaged by the area owners label Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants