Gets the suggestions to be displayed for the specified input.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
IEnumerable<string> GetSuggestions(
	string input,
	int maxCount
)
Visual Basic (Declaration)
Function GetSuggestions ( _
	input As String, _
	maxCount As Integer _
) As IEnumerable(Of String)

Parameters

input
Type: System..::.String
The current user input in the AutoCompleteBox.
maxCount
Type: System..::.Int32
The maximum number of results that the AutoCompleteBox will display. This parameter is advisory. Specifically, implementations do not need to track how many items they have returned: the AutoCompleteBox will not ask for more than this number of items. The maximum count is provided so that implementations can filter or prioritise.

Return Value

A sequence of suggested matches for the user input.

See Also