CalendarPicker.PlaceholderText property

[This documentation is preliminary and is subject to change.]

Gets or sets the text that is displayed in the picker's text box until the value is changed by a user action or some other operation.

Syntax

public string PlaceholderText { get; set; }
Public Property PlaceholderText As String
public:
property String^ PlaceholderText { 
   String^ get();
   void set (String^ value);
}

Property value

Type: System.String [.NET] | Platform::String [C++]

The text that is displayed in the control when no value is entered. The default is an empty string ("").

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Controls Windows::UI::Xaml::Controls [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

See also

CalendarPicker