Migrating from Xamarin SfEffectsView to .NET MAUI SfEffectsView

9 May 20221 minute to read

To migrate easier from Xamarin SfEffectsView to .NET MAUI SfEffectsView, we kept most of the APIs from Xamarin SfEffectsView in MAUI SfEffectsView. However, to maintain the consistency of API naming in MAUI SfEffectsView, we renamed some of the APIs. The APIs that have been changed in MAUI SfEffectsView from Xamarin SfEffectsView are detailed as follows.

Namespaces

Xamarin SfEffectsView .NET MAUI SfEffectsView
Syncfusion.XForms.EffectsView Syncfusion.Maui.Core

Properties

Xamarin SfEffectsView .NET MAUI SfEffectsView Description

AutoResetEffect

AutoResetEffects

Gets or sets the effect that was start rendering on touch down and start removing on touch up in Android and UWP platforms.

HighlightColor

HighlightBackground

Gets or sets the brush to highlight the effects view.

RippleColor

RippleBackground

Gets or sets the brush of the ripple.

SelectionColor

SelectionBackground

Gets or sets the brush applied when the view is on selected state.

Enums

Enum Xamarin SfEffectsView .NET MAUI SfEffectsView Description
RippleStartPosition Bottom,
Default,
Left,
Right,
Top
Bottom,
BottomLeft,
BottomRight,
Default,
Left,
Right,
Top,
TopLeft,
TopRight
Specifies the start position of the ripple effects.