Class
WarningDialogViewModel

Represents a view model for the warning dialog.

Definition

Constructors

WarningDialogViewModel(WarningDialogContext, Action)

Initializes a new instance of the WarningDialogViewModel class.

Declaration

cs-api-definition
public WarningDialogViewModel(WarningDialogContext context, Action closeDialogAction)

Parameters

context

WarningDialogContext

The context.

closeDialogAction

Action

The close dialog action.

Properties

NoCommand

Gets the command for the No button.

Declaration

cs-api-definition
public ICommand NoCommand { get; }

Property Value

ICommand

The no command.