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.
Use the 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.
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.
xmlns:syncfusion="clr-namespace:Syncfusion.XForms.Buttons;assembly=Syncfusion.Buttons.XForms"
SfSwitch sfSwitch = new SfSwitch();
We do not sell the Xamarin Switch separately. It is only available for purchase as part of the Syncfusion Xamarin suite, which contains over 155 Xamarin components, including the Switch. A single developer license for the Syncfusion Essential Studio for Xamarin suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
You can find our Xamarin Switch demo here.
No, our 155+ Xamarin components, including Switch, are not sold individually, only as a single package. However, we have competitively priced the product so it only costs a little bit more than what some other vendors charge for their Switch alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 155+ Xamarin components for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
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.