Closing a window from a ViewModel

How do you close a window from a ViewModel? I have created a splash screen and I'd like to close it from the Viewmodel after a timer times out.


Thanks for any help!


2 Replies

SA Sulthan Amanu Syncfusion Team April 5, 2022 02:20 PM UTC

Hi Larry.


We are checking the reported query. We will provide further details in April 8, 2022. We appreciate your patience until then.


Regards,

Sulthan Amanu



SA Sulthan Amanu Syncfusion Team April 8, 2022 06:08 PM UTC

Hi Larry,


The ChromelessWindow is derived from framework Window. Hence, you can follow the same steps as Window control to achieve your requirement. Some of the reference links are given below.


Reference links – 


https://stackoverflow.com/questions/11945821/implementing-close-window-command-with-mvvm

https://stackoverflow.com/questions/16172462/close-window-from-viewmodel


Please let us know if you still need assistance on this.


Regards,

Sulthan Amanu


Loader.
Up arrow icon