Hi,
There is a possibility to Binding my "SuggestionPredicate" located in my View model on the Filter property on SfTextBoxExt control?
Example:
<sync:SfTextBoxExt AutoCompleteSource="{Binding Path=Installers}"
SelectedItem="{Binding Installer, Mode=TwoWay}"
SuggestionMode="Custom"
Filter = "{Binding Path=MyFilter}"/>
On View Model:
public SuggestionPredicate<Installer> InstallerSuggestionFilter
{
get
{
return new SuggestionPredicate<Installer>(
(s, i) =>
{
return i.Name.ToLower().Contains(s.ToLower()) && i.BusinessName.ToLower().Contains(s.ToLower());
});
}
}
Thanks you.