timheuer / callisto

A control toolkit for Windows 8 XAML applications. Contains some UI controls to make it easier to create Windows UI style apps for the Windows Store in accordance with Windows UI guidelines.
http://timheuer.com/blog/archive/2012/05/31/introducing-callisto-a-xaml-toolkit-for-metro-apps.aspx
Other
338 stars 108 forks source link

CustomDialog checks for an existing binding of IsOpen before setting it; fixes #244 #245

Open mbruckner opened 10 years ago

mbruckner commented 10 years ago

This is a possible fix/workaround for the problem described at #244, which causes an MVVM usage of CustomDialog to break. The binding for IsOpen is overridden when the Back button is handled using the Command parameter instead of the click handler.

Note: This will break previously working code, if a binding was used to just open the dialog.