共用方式為


PromptArguments Constructor

Definition

public PromptArguments (string title, string message, string accept = "OK", string cancel = "Cancel", string placeholder = default, int maxLength = -1, Microsoft.Maui.Keyboard keyboard = default, string initialValue = "");
new Microsoft.Maui.Controls.Internals.PromptArguments : string * string * string * string * string * int * Microsoft.Maui.Keyboard * string -> Microsoft.Maui.Controls.Internals.PromptArguments
Public Sub New (title As String, message As String, Optional accept As String = "OK", Optional cancel As String = "Cancel", Optional placeholder As String = Nothing, Optional maxLength As Integer = -1, Optional keyboard As Keyboard = Nothing, Optional initialValue As String = "")

Parameters

title
String
message
String
accept
String
cancel
String
placeholder
String
maxLength
Int32
keyboard
Keyboard
initialValue
String

Applies to