Coder Social home page Coder Social logo

Comments (11)

punker76 avatar punker76 commented on May 18, 2024

@riegaz i've implemented this short example in the demo and it works on my machine™

test

from mahapps.metro.simplechildwindow.

riegaz avatar riegaz commented on May 18, 2024

I checked your examples. You set the "IsOpen" in the code behind but not via a Binding. For me like this it is also working but once I bind it, it does only work once.

Here is a basic example.

https://mega.co.nz/#!vwoBCSbR!BdwRvnu2rjgzfxQu0KXgfj32PgOyEw3Uc4wc8UEpzvQ

It contains the mvvm pattern where a bool is toggled between true and false every 3 seconds. This bool is bound to your subwindow. As you can see, it only works once.

from mahapps.metro.simplechildwindow.

riegaz avatar riegaz commented on May 18, 2024

Can you reproduce the behaviour?

from mahapps.metro.simplechildwindow.

riegaz avatar riegaz commented on May 18, 2024

Please let me know if you plan to fix this problem, because I'm waiting right now for your response. Any response is welcome, I just need to know if I have to implement something on my own.

from mahapps.metro.simplechildwindow.

punker76 avatar punker76 commented on May 18, 2024

@riegaz i really don't know what's going wrong here, but i'll look into

from mahapps.metro.simplechildwindow.

riegaz avatar riegaz commented on May 18, 2024

Thank you. I used a converter to convert the bound variable from number to boolean. Once the subwindow does not respond anymore, also the converter does not get notified anymore. It looks like the dependencyobject is somehow unregistered or overwritten vor lost? Maybe it would be interesting to see if it happens from on to offand also from off to on.

from mahapps.metro.simplechildwindow.

merso0027 avatar merso0027 commented on May 18, 2024

I have same issue.
Do you have any solution for this?

from mahapps.metro.simplechildwindow.

punker76 avatar punker76 commented on May 18, 2024

@merso0027 do you also use MVVMLight?

from mahapps.metro.simplechildwindow.

agc93 avatar agc93 commented on May 18, 2024

I see you've removed it from 1.2.0. Has there been any progress on this? Or do we need to roll our own replacement just to get MVVM Binding working?

I have the same issue using only the built-in WPF Bindings and properties, no MVVMLight or other frameworks. Same issue: can be toggled on, then off, and then no longer responds.

from mahapps.metro.simplechildwindow.

punker76 avatar punker76 commented on May 18, 2024

@riegaz @merso0027 @agc93 you can test the 1.3.0-ALPHA001 which should fix this nasty bug...

from mahapps.metro.simplechildwindow.

agc93 avatar agc93 commented on May 18, 2024

Just wanted to confirm and say that the new version works like a dream for me. Installed from the prerelease Nuget package, worked first time. Thanks heaps!!

from mahapps.metro.simplechildwindow.

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.