These are chat archives for punker76/MahApps.Metro.SimpleChildWindow

23rd
Feb 2016
Jon Alza
@jonny123d
Feb 23 2016 09:45
I have a question about the close button, is it posible to enable or disable somehow? In one child window I do a "background task" and I don't want that the user can close the window while task is working.
Jon Alza
@jonny123d
Feb 23 2016 10:02
@punker76
Jan Karger
@punker76
Feb 23 2016 10:10
@jonny123d this should be automatically handled by the CloseButtonCommand
Jon Alza
@jonny123d
Feb 23 2016 11:27
@punker76 Thank you, I have been searching on the documentation and I found CloseButtonStyle. I like more this alternative, setting IsEnabled to false.