Share via


SearchBox.PlaceholderText 속성

정의

사용자 작업 또는 다른 작업에 의해 값이 변경될 때까지 컨트롤에 표시되는 텍스트를 가져오거나 설정합니다.

public:
 property Platform::String ^ PlaceholderText { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring PlaceholderText();

void PlaceholderText(winrt::hstring value);
public string PlaceholderText { get; set; }
var string = searchBox.placeholderText;
searchBox.placeholderText = string;
Public Property PlaceholderText As String
<SearchBox PlaceholderText="placeholderString"/>

속성 값

String

Platform::String

winrt::hstring

값을 입력하지 않을 때 컨트롤에 표시되는 텍스트입니다. 기본값은 빈 문자열("")입니다. 최대 자리 표시자 텍스트 길이는 128자입니다.

적용 대상