Comments (3)
It's on my list to figure out as well, but just haven't gotten that far just yet. I'll follow up here once I get a chance to wrap my head around it. What I've done so far is to just use a SplashPage in the main maui window, and then redirect to the shell page once loading is done - not quite a splashscreen but got the job done and worked the same on all platforms.
An alternative is to just hide the main window (minimize + hide from taskbar) using the window extensions in WinUIEx, then re-enable once splash screen is done showing.
Also thank you so much for the coffee! Much appreciated!
from winuiex.
No problem! I also noticed I was imprecise, I was specifically going for WinUI. Well, I suppose I skip that for now and doodle around other things!
Also noticed microsoft/WindowsAppSDK#500 and dotnet/maui#3870 (comment) now. Ah, so, it's maybe the custom page until something official appears. I edited and added here for the benefit of others who may stumble here.
from winuiex.
I think if the SplashScreen window subclass didn't expect the Window type parameter for the subsequent Window to be launched, you could easily use the approach taken here for a Maui app WinUI splash screen...
This approach immediately shows a splash screen Window in the WinUI App.xaml.cs constructor, then when app fully launches it creates and activates the main window in OnLaunched, which in Maui terms happens automatically in OnLaunched anyway, so no need to even override that?
from winuiex.
Related Issues (20)
- Default theme cannot be switched
- Refined Logo HOT 4
- Missing MIT license in NuGet package HOT 1
- The `Backdrop` is cleared when the window cancel close HOT 1
- Cant set Dark theme HOT 3
- WebAuthenticator Opens Second Instance of App (MAUI) HOT 5
- Feature Suggestion: Add `WindowStateChanged` event HOT 9
- NU1605 Error HOT 3
- Support tabbed backdrop for Win11 22H2 and up HOT 2
- Bug: When using WindowsEx class, closed application crashes on launch when activated from notification. HOT 2
- WebAuthenticator not working with Mozilla Firefox HOT 7
- Updating System Backdrop to New API HOT 4
- WindowExtensions.cs, MoveAndResize() HOT 2
- DataRow doesn't work with WinUI HOT 1
- "Specified cast is not valid" on launch after upgrading from 2.1.0 to 2.2.0 HOT 3
- Mistake on MSIX-win10-x64.pubxml HOT 2
- Help Needed HOT 2
- MaxWidth inconsistent HOT 1
- does not restore window size and pos after OS restart. HOT 20
- Pass theme to the ShowMessageDialogAsync?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winuiex.