GithubHelp home page GithubHelp logo

Comments (2)

minewarriorsSchool avatar minewarriorsSchool commented on June 30, 2024 1

Hey @TysonMN !

Thanks a lot for your rapid responds. I actually had an epiphany yesterday and managed to solve the main problem I had.

Solution that I in the end went for was to add a custom dependeny property to my ribbon usercontrol and register the navigationfame to it.

then when the button was pressed I passed this property to the command parameter and convert is in Binding.cmdParam.

This way everything stays pure and the gui element stays in the xaml file.

I have considered the visibility thing, but I rather would not do that, since well.... It just does not seems like the nicest solution to me hahahaha.

from elmish.wpf.

TysonMN avatar TysonMN commented on June 30, 2024

I understand that you can't share your code from work.

Can you create a minimal working example though?

Ideally you could also simulate the slow performance, but it would be helpful even if you skipped this part for now.

The one approach I also took when building a WPF application (with or without Elmish.WPF) was to always create all possible views and then use the Visibility properties to only show the one I want the user to see. With this approach, I expect switching between views should be rather instantaneous.

Have you tried that approach?

from elmish.wpf.

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.