GithubHelp home page GithubHelp logo

Comments (4)

mauroservienti avatar mauroservienti commented on August 26, 2024 1

@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.

melkio avatar melkio commented on August 26, 2024

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.

mauroservienti avatar mauroservienti commented on August 26, 2024

And we could leverage the UI Composition engine to auto-magically compose a UserControl into the pop-up/dialog/child window.

from radical.windows.

micdenny avatar micdenny commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.