You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AutoCompleteBox causes an ArgumentException when setting ItemFilter delegate through XAML. The exception is thrown when go through the InitializeComponent method indicating the "Type must derive from delegate".
Setting the XAML for the AutoCompleteBox with the properties:
ItemFilter="SearchMethod"
FilterMode="Custom"
SearchMethod is implemented in the codebehind as;
public bool SearchMethod(string searchText, object item)
The exception is thrown yet the methos is set up and working.
The text was updated successfully, but these errors were encountered:
AutoCompleteBox causes an ArgumentException when setting ItemFilter delegate through XAML. The exception is thrown when go through the InitializeComponent method indicating the "Type must derive from delegate".
Setting the XAML for the AutoCompleteBox with the properties:
ItemFilter="SearchMethod"
FilterMode="Custom"
SearchMethod is implemented in the codebehind as;
public bool SearchMethod(string searchText, object item)
The exception is thrown yet the methos is set up and working.
The text was updated successfully, but these errors were encountered: