-
Notifications
You must be signed in to change notification settings - Fork 711
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
Announcing: WinUI 2.6! 🎨💻🎉 #5262
Comments
This looks great! Is there an estimate or rodemap on when these styles will arrive on WinUI 3? |
How can I as a developer use Mica? How does Mica manifest in the WinUI 2.6 source code? |
Docs are now live! https://docs.microsoft.com/en-us/windows/apps/design/style/mica The code for it is here: #5261 and will be in main soon. |
Awesome, thank you Jevan! |
@lhak no, can you please file an issue (with details on which OS version you are running it on) ? |
I'm not sure, but it looks like the issue is related to #5133 . This is how date picker looks on light mode: Note: Screenshot cannot capture the more subtle shadow behind the flyout, but both the search box in the screenshot above and this flyout have shadow. Update: Added video below
|
I remember a few of us mentioning the issue with dim Acrylic flyouts, as if the shadow layer renders on top - so not entirely sure if this is the same issue, or something new. As I understand it, WinUI is using DropDownShadows instead of the older Elevation based ThemeShadows |
I thought WinUI 3 was the future. When can we see these controls in WinUI 3? |
It's harder because WinUI2 and WinUI3 are different codebases right now and it takes us a fair bit of time to merge the changes over from WinUI2 into WinUI3. We wanted to do it but we just didn't have the time to get that done by today's releases. |
@jevansaks Ah, I see. Any idea when this would be coming for WinUI 3? With Windows 11 pushing WinUI 3 and Windows App SDK, I feel like these new controls, features, and designs should be worked on WinUI 3 first, then backported to WinUI 2. |
#3373 I mention dim color before but nobody try to fix it |
It's a new one, and it's a complete deal breaker for me, must be fixed asap: #5277 |
I have a basic question: |
Re-build I believe, versioning means apps can continue using older versions without their apps breaking potentially. |
Thanks, that makes sense.
I thought UWP apps work the same way. |
Next time, can RTM release be the same as the final pre-release? Makes no sense to have pre-releases and then deploy something else to production that looks different and breaks. |
@chingucoding @StephenLPeters @ranjeshj |
My App also have desktop extensions and it's in .Net Framework 4.8. I suspect that only apps with desktop extensions are affected. After all, I haven't seen anyone mention this in other issues. |
@crramirez How could I upgrade the desktop extensions to .Net 5 ? I got the error: There was no runtime pack for Microsoft.WindowsDesktop.App.WindowsFormsavailable for the specified RuntimeId "win10-arm" "win10-arm64" |
Pssf, I don't remember but it wasn't easy. The best way is to create a new .net 5 project and migrate the code. I can later today paste my project. My project is a console application to avoid WPF and Forms incompatibilities with ARM |
@crramirez I created an issue #5768 for that submission problem, do you have any supplement? |
Excellent I'll check and add some comments if it is needed. |
Hello, @zhuxb711 I completely forgot your question until today I checked your project and noticed that it is .Net Framework based. This is the project file of my Full Trust Project in .net 5: https://gist.github.com/crramirez/1e0bcbd5e590f54ffb26385343a1bd92 |
Never mind. I found something that might block my project to use .Net 5.
So .Net 5 is not an option for me currently. Thanks for help. Very appreciate! |
Remember that for .Net Framework when you put Any CPU for ARM it will generate x86 code and it will run in emulation mode. So, your application will run in ARM. I wonder if you target Windows 11 as a minimum if it will generate x64 for ARM64 based on the emulation |
@zhuxb711 did you read this? https://devblogs.microsoft.com/dotnet/net-july-2021/ |
Sorry I haven't test it on Win11 because Win11 is still in preview. |
Thanks for providing that article. I will try it again with .Net 5.0.8 SDK and let's see if that works for me. |
I use Virtual Machines for that, having our apps ready is important, also you can do this: https://boxofcables.dev/dual-boot-windows-and-windows-insiders-without-re-partitioning/ it works pretty well |
@crramirez I could use .Net 5 on ARM64 but ARM now. Microsoft.WindowsDesktop.App.WindowsForms on ARM is still not supported by .Net 5 currently |
@crramirez
not work and VS always read the configuration from
|
did you try to totally remove |
Remove it totally just the same as |
@zhuxb711 I have |
Check out #5889 for the latest WinUI 2.x update! |
The team has just released WinUI 2.6! This release contains visual updates to most of our controls, a few new controls, bug fixes, and new functionality for use in UWP apps.
Release highlights
New controls
Control visual updates
Most WinUI controls now support the latest Windows styles. These new styles align with the current design direction of Windows, and will provide your app with the most modern, up-to-date visual experience.
New materials
WinUI 2.6 is the first release to introduce Mica, which is a new material that incorporates theme and desktop wallpaper to paint the background of long-lived windows such as apps and settings. You can apply Mica to your application backdrop to delight users and create visual hierarchy, aiding productivity, by increasing clarity on which window is in focus.
Mica is specifically designed for app performance as it only samples the desktop wallpaper once to create its visualization.
New features
SplitButtonCommandBarStyle
and AppBarElementContainer wrapper class.Bug fixes
To see the full list of bugs fixed in this release, see the official GitHub release.
Get started
If you're new to WinUI, get started by following the steps in this doc: Getting started with the WinUI 2.x library
If you've used WinUI in the past, get started with 2.6 by downloading the latest NuGet package: NuGet Download
Helpful links and resources
Release Notes - learn more about what's new in this release
XAML Controls Gallery - a sample WinUI app that shows you all of our controls in action, including the new controls and features in this release
API Reference Documentation - in-depth details about the new APIs added for this release
Thank you!
Your contributions as a developer community have been incredibly valuable in shipping WinUI. We'd like to extend a big thank you to everyone who contributed to this release by filing or fixing bugs, requesting features, implementing features, and generally being a significant part of the development process!
The text was updated successfully, but these errors were encountered: