3.0 KiB
3.0 KiB
layout | title | description | platform | control | documentation |
---|---|---|---|---|---|
post | Methods in Xamarin Effects View control | Syncfusion | Learn here all about Methods support in Syncfusion Xamarin Effects View (SfEffectsView) control and more. | xamarin | SfEffectsView | ug |
Methods in Xamarin Effects View (SfEffectsView)
You can add or remove effect programmatically using the ApplyEffects
or Reset
method.
ApplyEffects
The ApplyEffects
method is used to trigger the effects rendering with or without repetition. The following are the optional parameters to be passed:
effects
-SfEffects
to be applied. By default,SfEffects.Ripple
will be applied.rippleStartPosition
-RippleStartPosition
can be left, top, right, bottom, or default. By default, ripple starts from the center.rippleStartPoint
- point at which ripple animation starts. The default value is null.repeat
- bool value used to set whether to repeat the applied effect. The default value is false. OnlySfEffects.Ripple
andSfEffects.Highlight
can be repeated.
N> The SfEffects
applied using ApplyEffects
method will not be removed automatically.
Reset
The Reset
method is used to reset the SfEffects.Highlight
and SfEffects.Ripple
effects, which are applied using the ApplyEffects
method.