Skip to content

ConfirmActionDialogViewModel constructor

Initializes a new instance of the ConfirmActionDialogViewModel class.

Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Avalonia.Controls.ApplicationServices.dll
NuGet Package: Eremex.Avalonia.Controls.ApplicationServices

Declaration

public ConfirmActionDialogViewModel(IEnumerable<string> messages, string title, 
    string? header = null, bool showDisableConfirmOption = true)

Parameters

name type description
messages IEnumerable<string> The message lines shown in the body of the dialog.
title string The caption of the dialog window.
header string? The emphasized line above the messages, or null.
showDisableConfirmOption bool Whether to show the "Don't show again" check box.

See Also