Share via


AlertArguments(String, String, String, String) Constructor

Definition

Initializes a new instance of the AlertArguments class with the specified dialog configuration.

public:
 AlertArguments(System::String ^ title, System::String ^ message, System::String ^ accept, System::String ^ cancel);
public AlertArguments(string title, string message, string accept, string cancel);
new Microsoft.Maui.Controls.Internals.AlertArguments : string * string * string * string -> Microsoft.Maui.Controls.Internals.AlertArguments
Public Sub New (title As String, message As String, accept As String, cancel As String)

Parameters

title
String

The title text to display in the alert dialog header.

message
String

The message text to display in the alert dialog body.

accept
String

The text for the positive/accept button in the alert dialog.

cancel
String

The text for the negative/cancel button in the alert dialog.

Remarks

For internal use only. This API can be changed or removed without notice at any time.

Applies to