title: Accessing the close button on a window UWP C#
body: <p>I have done some researching and I haven't found much that is useful for UWP. When the 'X' is hit on the window I need to call a function before the application actually closes. I can't seem to find any sources that deal with MVVM Cross and UWP. It seems that there may be a way but there is just simply a lack of resources online. I am really just looking to be pointed in the right direction.</p>