Interaction in Xamarin Effects View (SfEffectsView)
13 May 20211 minute to read
You can set the effects on different interactions. This section explains how to set effects on different interactions available in effects view.
TouchDownEffects
The TouchDownEffects
property of SfEffectsView
is used to render the effects in touch-down interaction.
<syncEffectsView:SfEffectsView TouchDownEffects="Ripple">
...
</syncEffectsView:SfEffectsView>
var effectsView = new SfEffectsView
{
TouchDownEffects = SfEffects.Ripple
};
LongPressEffects
The LongPressEffects
property of SfEffectsView
is used to render the effects in long-press interaction.
<syncEffectsView:SfEffectsView LongPressEffects="Ripple">
...
</syncEffectsView:SfEffectsView>
var effectsView = new SfEffectsView
{
LongPressEffects = SfEffects.Ripple
};
TouchUpEffects
The TouchUpEffects
property of SfEffectsView
is used to render the effects in touch-up interaction.
<syncEffectsView:SfEffectsView TouchUpEffects="Ripple">
...
</syncEffectsView:SfEffectsView>
var effectsView = new SfEffectsView
{
TouchUpEffects = SfEffects.Ripple
};