Selection Effect in .NET MAUI Effects View (SfEffectsView)

30 Mar 20221 minute to read

SfEffects.Selection is a smooth color transition to indicate whether the SfEffectsView state is selected or not.

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

.net maui selection effect