Edit

Share via


ToastTextBox Class

Definition

A text box control on the Toast that a user can type text into.

public sealed class ToastTextBox : Microsoft.Toolkit.Uwp.Notifications.IToastInput
type ToastTextBox = class
    interface IToastInput
Public NotInheritable Class ToastTextBox
Implements IToastInput
Inheritance
ToastTextBox
Implements

Constructors

ToastTextBox(String)

Initializes a new instance of the ToastTextBox class. A new Toast TextBox input control with the required elements.

Properties

DefaultInput

Gets or sets the initial text to place in the text box. Leave this null for a blank text box.

Id

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

PlaceholderContent

Gets or sets placeholder text to be displayed on the text box when the user hasn't typed any text yet.

Title

Gets or sets title text to display above the text box.

Applies to