Scale Effect in .NET MAUI Effects View (SfEffectsView)

21 May 20251 minute to read

The SfEffects.Scale provides a smooth transition in the size of the SfEffectsView.Content, adjusting from its actual size to a new size based on the ScaleFactor specified in pixels.

<syncEffectsView:SfEffectsView
    ScaleFactor="0.85"
    TouchDownEffects="None"
    TouchUpEffects="None"
    LongPressEffects="Scale">
</syncEffectsView:SfEffectsView>
var effectsView = new SfEffectsView
{
    ScaleFactor = 0.85,
    TouchDownEffects = SfEffects.None,
    TouchUpEffects = SfEffects.None,
    LongPressEffects = SfEffects.Scale
};

Scale animation