We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies


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.

Visual types

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).

Xamarin.Forms Switch with material visual type.

Xamarin.Forms Switch with Cupertino visual type.

Xamarin.Forms Switch with fluent visual type.

Indeterminate state

Apart from the usual on and off states, there is also a state called indeterminate.

Xamarin.Forms Switch with indeterminate state.

Visual State Manager

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.

Xamarin.Forms Switch with Visual State Manager state.

Busy indicator

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.

Xamarin.Forms Switch with busy indicator.


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.

Xamarin.Forms Switch with horizontal and vertical orientation.


The highly customizable Xamarin.Forms Switch control allows you to customize its background with gradients.

Xamarin.Forms Switch with gradients.


Customize the Xamarin.Forms Switch control with images to illustrate the use case of the switch action.

Xamarin.Forms Switch with images.

RTL support

The Xamarin.Forms Switch has been designed with Flow Direction compatibility.

Xamarin.Forms Switch in RTL layout.

Xamarin.Forms Switch Code Example

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();


  • Xamarin.Forms
  • Xamarin.Android
  • Xamarin.iOS
The most downloaded control (based on the nuget.org download count).

Frequently Asked Questions

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, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Syncfusion Xamarin.Forms Resources


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.

Up arrow icon
Live Chat Icon For mobile