Scale Effect in .NET MAUI Effects View (SfEffectsView)

30 Mar 20221 minute to read

SfEffects.Scale is a smooth transition on the size of the SfEffectsView.Content from its actual size to the size calculated based on ScaleFactor 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
};

.net maui scale animation