NumberBox.PlaceholderText Property

Definition

Gets or sets the text that is displayed in the data entry field of the control until the value is changed by a user action or some other operation.

C#
public string PlaceholderText { get; set; }

Property Value

String

The text that is displayed in the data entry field of the control until the value is changed by a user action or some other operation. The default is an empty string.

Remarks

Placeholder text only appears when Value is set to Double.NaN or when the input is cleared by the user.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also