Comments (11)
@riegaz i've implemented this short example in the demo and it works on my machine™
from mahapps.metro.simplechildwindow.
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.
Can you reproduce the behaviour?
from mahapps.metro.simplechildwindow.
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.
@riegaz i really don't know what's going wrong here, but i'll look into
from mahapps.metro.simplechildwindow.
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.
I have same issue.
Do you have any solution for this?
from mahapps.metro.simplechildwindow.
@merso0027 do you also use MVVMLight?
from mahapps.metro.simplechildwindow.
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.
@riegaz @merso0027 @agc93 you can test the 1.3.0-ALPHA001 which should fix this nasty bug...
from mahapps.metro.simplechildwindow.
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)
- .NET Core 3.0
- ChildWindow position when it appears. HOT 25
- Is it possible to make ChildWindow move outside of parent ? HOT 2
- Add TargetFramework .NET Core 3.1
- Childwindow being displayed behind another childwindow HOT 6
- Need advice, moving ChildWindow within mother's one. HOT 1
- doesn't work normal with MaterialDesignThemes.MahApps HOT 2
- ChildWindow not showing up in designer HOT 6
- ChildWindow from ChildWindow HOT 1
- when use validate in simplechildwindow, not display as expect HOT 7
- Async method doesn't perform check up if ChWindow is opened.
- Mahapps.Metro.SimpleChildWindow Nugget Package Issue HOT 4
- Resource Brushes not working in designer HOT 1
- Passing value with Close not working HOT 4
- SimpleChildWindow File Load Exception HOT 4
- Loaded event called twice? HOT 1
- SimpleChildWindow over Metro dialogs?
- Curved corners for SimpleChildWindow
- Since 2.1.0 no dialog is shown HOT 2
- OffsetX and OffsetY set to zero are not respected
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 mahapps.metro.simplechildwindow.