Back to Blog
![]() ![]() The ModalView service comes with a small sample app that calls most of the methods in its API. Here’s where I located the service in my Visual Studio solution, and the class diagram that shows its API: In an MVVM(ish) architecture functionality like this typically ends up in a so-called Service. ![]() or to request long and short text input from the user.ĭialogs should be callable from anywhere inside your app’s code base: from a View, from a UserControl, from a ViewModel, from Business Logic, etcetera.to request for confirmation from the user,.to display an important message to the user,.Dialogs are typically used in the following scenarios, and these are exactly the views that are exposed by the ModalView service: That makes them different from Flyouts, Tooltips or Toast Notifications, which are easily dismissed or even close automatically. The dialogs and flyouts guidance learns us that dialogs are UI overlays that provide contextual app information and block interaction with the app window until they are explicitly dismissed. In this article we present a Service that provides the elementary Modal Views in a UWP application.
0 Comments
Read More
Leave a Reply. |