Comments (4)
@micdenny re:
Could it make sense to have also an ICanBeInitialized without the generics?
https://github.com/RadicalFx/Radical.Windows.Presentation/issues/51
Just a question, if a want to show a view that wants to load data by itself, do I simply use the IExpectViewLoadedCallback callbacks to do that? or it's too late?
My draft idea is to do something similar to what we do for the splash screen. Users can define a UserControl (View + ViewModel) as a Partial and we can hook it up into a view. we could show a dialog, show a non model child window or even a simple overlay "fake" dialog. Being a Partial
all the conventions that apply to ViewModel lifecycle will be respected.
from radical.windows.
I already have an implementation of this behavior for all the "popups" of our application.
I'd change the name ShowMessageView
:)
IMHO, Radical should support two different scenarios out-of-the-box: confirmation popup (for example to ask confirmation for a delete command) and a "generic" popup (for example to show details).
In the first case Radical could provide the complete "dev experience"
from radical.windows.
And we could leverage the UI Composition
engine to auto-magically compose a UserControl into the pop-up/dialog/child window.
from radical.windows.
I like the proposal so 👍
Just a question, if a want to show a view that wants to load data by itself, do I simply use the IExpectViewLoadedCallback
callbacks to do that? or it's too late?
Could it make sense to have also an ICanBeInitialized
without the generics?
Or something like explained in RadicalFx/Radical.Windows.Presentation#5 MVC binding style.
from radical.windows.
Related Issues (20)
- Tab Region Header binding fails
- Add an option to automatically activate content added to a switching elements region
- Drop AutoComplete from Radical.Windows HOT 2
- When using generic host support there is no way to disable auto boot HOT 1
- Verify that headless applications are supported
- Add a read-only property to the singleton startup event arguments to signal if another instance is already running
- Consolidate Microsoft.Extensions.DependencyInjection versions
- RegionExtensions uses Wait Helper that has been obsoleted
- RegionInjectionHandler costructor uses Wait Helper that has been obsoleted
- What's Uno Platform and what can we do for it? HOT 1
- IConventionsHandler DefaultViewDataContextSearchBehavior setter can be made private
- dependabot configuration is wrong
- NetCore 3.1 AbstractMementoViewModel Property error HOT 6
- Move build image from Visual Studio 2019 Preview to final bits with .NET 5 RTM HOT 1
- Investigate Avalonia UI support
- IExpectViewShownCallback not triggered in a ViewModel associated with a Region HOT 3
- Radical cli for master/detail scaffolding HOT 1
- IncludeAssemblyInContainerScan doesn't make sense anymore
- Info - Utilizzo Serilog HOT 7
- Rearrange dependencies
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 radical.windows.