ToastContentBuilder.AddInputTextBox(String, String, String) Method

Definition

Add an input text box that the user can type into.

public Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder AddInputTextBox (string id, string placeHolderContent = default, string title = default);
member this.AddInputTextBox : string * string * string -> Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder
Public Function AddInputTextBox (id As String, Optional placeHolderContent As String = Nothing, Optional title As String = Nothing) As ToastContentBuilder

Parameters

id
String

Required ID property so that developers can retrieve user input once the app is activated.

placeHolderContent
String

Placeholder text to be displayed on the text box when the user hasn't typed any text yet.

title
String

Title text to display above the text box.

Returns

The current instance of ToastContentBuilder

Applies to