How to change SearchBar’s icon color in .NET MAUI
Starting with .NET 10, MAUI’s search bar comes with a new property for changing the SearchBar
‘s search icon color: SearchIconColor
.

As with any dependency property, you can assign it a color value like Purple
or bind it to a resource as follows:
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<SearchBar Placeholder="Search videos..." SearchIconColor="{StaticResource Primary}" />
<ScrollView>
<VerticalStackLayout>
</VerticalStackLayout>
</ScrollView>
</Grid>
Code language: HTML, XML (xml)