SearchBox.QueryText property

Applies to Windows only

Gets or sets the text contents of the search box.

Syntax


public string QueryText { get; set; }


<SearchBox QueryText="string"/>

Property value

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

A string containing the text contents of the search box. The default is an empty string (""). The maximum query text length is 2048 characters.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

SearchBox

 

 

Show:
© 2014 Microsoft