Search functionality - .NET MAUI

In MAUI, you can use the built-in SearchBar component.

Usage (C#)

var searchBar = new SearchBar();
searchBar.TextChanged += SearchBar_TextChanged;

void SearchBar_TextChanged(object? sender, TextChangedEventArgs e)
{
    //Apply any logic
}

Usage (XAML)

<SearchBar TextChanged="SearchFunction" />