Migrating from Xamarin SfSwitch to .NET MAUI SfSwitch
19 Dec 20231 minute to read
To migrate easier from Xamarin SfSwitch to .NET MAUI SfSwitch, we kept most of the APIs from Xamarin SfSwitch in MAUI SfSwitch. However, to maintain the consistency of the API naming in MAUI SfSwitch, we renamed some of the APIs. The APIs changed in MAUI SfSwitch from Xamarin 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.