Skip to content

Dialogs

Daniel edited this page Aug 16, 2020 · 6 revisions

CodeMonkeys.Dialogs

Nuget

The CodeMonkeys.Dialogs package contains interfaces and abstractions for the platform specific CodeMonkeys.Dialogs.* packages.

Options

The DialogService has a static Options property with which you can control the service behavior. Please refer to the corresponding wiki page to see the implementation specific options.

The DialogOptions class has the following properties:

Name Type Description Default value
DefaultCloseLabel string The text which is shown to close a dialog. "OK"
DefaultConfirmLabel string The text which is shown to confirm a dialog. "OK"
DefaultDeclineLabel string The text which is shown to decline a dialog. "Cancel"

How to set a option property

DialogService.Options.DefaultCloseLabel = "Close";
Clone this wiki locally