Partilhar via


AutoCompleteBox.SearchText Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the text that is used to filter items in the ItemsSource item collection.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Input (in System.Windows.Controls.Input.dll)

Syntax

'Declaration
Public Property SearchText As String
public string SearchText { get; private set; }

Property Value

Type: System.String
The text that is used to filter items in the ItemsSource item collection.

Remarks

The SearchText value is typically the same as the Text property, but is set after the TextChanged event occurs and before the Populating event.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.