New to Telerik UI for WPFStart a free 30-day trial

Represents a view model for the warning dialog.

Definition

Constructors

Initializes a new instance of the WarningDialogViewModel class.

C#
public WarningDialogViewModel(WarningDialogContext context, Action closeDialogAction)
Parameters:contextWarningDialogContext

The context.

closeDialogActionAction

The close dialog action.

Properties

Gets the command for the No button.

C#
public ICommand NoCommand { get; }
Property Value:

The no command.