Migrating from Xamarin SfSwitch to .NET MAUI SfSwitch
20 May 20251 minute to read
To facilitate easier migration from Xamarin SfSwitch to .NET MAUI SfSwitch, most of the APIs from Xamarin SfSwitch have been retained in MAUI SfSwitch. However, to maintain API naming consistency in MAUI SfSwitch, some APIs have been renamed. The changes in APIs from Xamarin SfSwitch to MAUI SfSwitch are detailed as follows:
Namespaces
Xamarin SfSwitch | .NET MAUI SfSwitch |
---|---|
Syncfusion.XForms.Buttons | Syncfusion.Maui.Buttons |
Properties
Xamarin SfSwitch | .NET MAUI SfSwitch | Description |
---|---|---|
Gets or sets the track stroke thickness. | ||
Gets or sets the thumb stroke thickness. | ||
Gets or sets the color of the track border. | ||
Gets or sets the color of the thumb border. | ||
Gets or sets the color of the track. | ||
Gets or sets the color of the thumb. |
Upcoming features
- Vertical orientation support.
- BusyIndicator and its customization.
- Background image support for both Track and Thumb.
- Gradient color customization for both Track and Thumb.