Contents
- Namespaces
- Initialize control
- Properties
- Events
- Methods
- Upcoming Features
Having trouble getting help?
Contact Support
Contact Support
Migrate from Xamarin.Forms SfCard to .NET MAUI SfCard
To make the migration from the Xamarin SfCards to .NET MAUI SfCards easier, most of the APIs from the Xamarin SfCards were kept in the.NET MAUI SfCards. However, to maintain the consistency of API naming in the .NET MAUI SfCards, some of the APIs have been renamed. Please find the difference in the following topics.
Namespaces
Xamarin SfCards | .NET MAUI SfCards |
---|---|
Syncfusion.SfCards.XForms | Syncfusion.Maui.Cards |
Initialize control
To initialize the control, import the calendar namespace and initialize SfCalendar
as shown in the following code sample.
Xamarin SfCards | .NET MAUI SfCards |
---|---|
|
|
Properties
SfCards
The following code example, explains how to initialize the properties of the Xamarin SfCards
and .NET MAUI SfCards
class.
Xamarin SfCards | .NET MAUI SfCards | Description |
---|---|---|
Nil | Gets or sets the stroke size in SfCardView | |
Nil | Gets or sets the stroke in SfCardView. | |
Gets or sets a card is dismissed or not. | ||
Gets or sets the corner radius value in SfCardView. | ||
Gets or sets the indicator color in SfCardView. | ||
Gets or sets the indicator thickness in SfCardView. | ||
Gets or sets the indicator position in SfCardView. | ||
Gets or sets the swipe to dismiss value in SfCardView. | ||
Gets or sets the Fade out value in SfCardView. | ||
Gets or sets the swipe direction value in SfCardLayout. | ||
Gets or sets the swiped card value in SfCardLayout. | ||
Gets or sets the visible index value in SfCardLayout. | ||
Nil | Gets or sets the vertical space value in SfCardLayout. | |
Nil | Gets or sets the horizontal space value in SfCardLayout. |
Events
Xamarin SfCards | .NET MAUI SfCalendar | Description |
---|---|---|
Occurs whenever the card tapped on SfCardLayout. | ||
Occurs whenever the card visible index changed on SfCardLayout. | ||
Occurs whenever the card visible index changing on SfCardLayout. | ||
Occurs whenever the card dismissed on SfCardView. | ||
Occurs whenever the card dismissing on SfCardView. |
Methods
Xamarin SfCards | .NET MAUI SfCards | Description |
---|---|---|
Move to next card. | ||
Move to previous card. |
Upcoming Features
- Shadow effect support.