[Improvement] Add ReturnType API for SearchBar
Closed the previous MR because of a stupid git mistake I made.
Description of Change
Added ReturnType API for SearchBar like it is done for Entry.
Issues Fixed
Fixes #19872
Hey there @redducks100! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.
Needs to target net9.0
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
/rebase
/rebase
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
Tests were green before, on https://github.com/dotnet/maui/pull/24906/commits/b68ea9becda58bcab08a0f572c7455bd757c5fb0 , so we can merge