Selection Effect in .NET MAUI Effects View (SfEffectsView)
21 May 20251 minute to read
The SfEffects.Selection provides 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)
};