The Xamarin.Forms Switch allows you to turn an item on and off, and provides an optional indeterminate state. It supports VSM, a busy state, and gradient.
The Xamarin.Forms Switch provides three built-in visual types. These visual types save time when customizing a switch based on different devices in maintaining the same visual on all three kinds of devices (Android, iOS, and UWP).
Apart from the usual on and off states, there is also a state called indeterminate.
Visual State Manager to customize Xamarin.Forms Switch’s thumb and track based on switch states. Its supported visual states are on, off, indeterminate, and disabled.
Switches with busy indicator support are the most common scenario in service-based apps. The Xamarin.Forms Switch can turn on or off items based on validation.
The Xamarin.Forms Switch supports vertical orientation. The Xamarin.Forms Switch can be integrated when the app requires an interface to set values at high, low, and medium.
The highly customizable Xamarin.Forms Switch control allows you to customize its background with gradients.
Customize the Xamarin.Forms Switch control with images to illustrate the use case of the switch action.
The Xamarin.Forms Switch has been designed with
Flow Direction compatibility.
Easily get started with the Xamarin.Forms Switch using a few simple lines of XAML and, C# code example as demonstrated below. Also explore our Xamarin.Forms Switch Example that shows you how to render and configure the Switch for Xamarin.Forms.
SfSwitch sfSwitch = new SfSwitch();
You can find our Xamarin Switch demo here.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.