Skip to content

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.

How to Use

WORK-IN-PROGRESS

  1. Create new View and ViewModel which inherits from IDialogAware
  2. Register your dialog View and ViewModel with the Container
  3. Call .ShowDialog(...), DONE!

Register Dialog View and ViewModel

Coming Soon

  • 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
Clone this wiki locally