Highlight Effect in .NET MAUI Effects View (SfEffectsView)

22 May 20251 minute to read

The SfEffects.Highlight provides a smooth transition on the background color of the SfEffectsView.

<syncEffectsView:SfEffectsView
    TouchDownEffects="Highlight"
    HighlightBackground="#FF0000">
</syncEffectsView:SfEffectsView>
var effectsView = new SfEffectsView
{
    TouchDownEffects = SfEffects.Highlight,
    HighlightBackground = new SolidColorBrush(Colors.Aqua)
};

Highlight effect