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

3rd
Aug 2017
Darnell Williams
@Seeker1437
Aug 03 16:03
@punker76 I am sorry to bother, Is there a way I can prevent IsOpen from closing the childwindow, as an example if there is a validation error present? I only see things for when it already changed.
Jan Karger
@punker76
Aug 03 16:13
@Seeker1437 the IsOpen property is the indicator for open and closed. I didn't know what do you mean with this.
Darnell Williams
@Seeker1437
Aug 03 16:15
@punker76 as an example, I allow users to edit information about a file in the ChildWindow, the Location Field has Input Validation. I would like to prevent the user from closing the ChildWindow and focus on the field with the validation error.
Keeping in mind user are allowed to close the window via Esc, clicking Modal Area, or clicking the close button
Jan Karger
@punker76
Aug 03 16:18
@Seeker1437 this can all be handled by closing event or the closing commands
Darnell Williams
@Seeker1437
Aug 03 16:23
Okay, I will dig deeper into this :D thanks