Maximum Display Item with Expander

10 Mar 20181 minute to read

Restrict the number of suggestions displayed and have the remaining items loaded by selecting LoadMore.We can restrict maximum suggestion to be displayed with the MaximumSuggestion property. We can set the desire text for the displaying the Load more text with the property LoadMoreText.

countryAutoComplete.LoadMoreText="LOAD MORE";

Restricting the maximum display of item dynamically

We can restrict the maximum display of items dynamically by calling LoadMore method. The user can dynamically change the maximum suggestion count by calling LoadMore method by giving the maximum suggestion as the argument inside.

// without passing arguments
// with passing arguments