-
Notifications
You must be signed in to change notification settings - Fork 45
Dialog Service
Damian edited this page Jun 3, 2023
·
5 revisions
The DialogService is used to create custom dialog windows (pop-up window) as either Modal or Non-Modal. Modal windows are ones that have a parent/owner window.
Check out our SampleDialogApp for implementation examples.
WORK-IN-PROGRESS
- Create new View and ViewModel which inherits from
IDialogAware
- Register your dialog View and ViewModel with the Container
- Call
.ShowDialog(...)
, DONE!
- In PR #75, DialogService allows for an optional parent Window (owner of the dialog) to be passed it. By default, the main Window will be the owner.
- Make
Action<IDialogResult>
optional