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

Overview

The Xamarin Button is a custom button control. It has several built-in features such as UI customization, support for icons, predefined styles, toggle states, corner edge radii and customization of the appearance of different visual states using the visual state manager.


Visual state manager

Use the visual state manager to make changes to the Xamarin Button based on the visual states set from code.

Xamarin.Forms Button with visual state.


Toggle button

The Xamarin Button can be used as a toggle button to trigger two different actions based on its checked and unchecked states.

Toggle button to showcase default and active states.


Image support

You can set images in the Xamarin Button control to provide an elegant view that matches your application.

Xamarin.Forms Button with an image as the background.


Custom content

You can apply the required custom view as a template to the Xamarin.Forms Button.

Xamarin Button with different custom contents.


Font customization

Customize the font size with pixel precision along with standard options such as small, medium, and large. The font family and text color can also be easily customized.

Xamarin Button with customized font.


Appearance

The appearance of a button is highly customizable.

Xamarin Button with border colors.

Border color

The border color can easily be customized to the desired color.

Xamarin Button with border thickness.

Border thickness

Border thickness can easily be customized to the desire value. You can also remove the border if it is not required.

Xamarin Button with rounded corners.

Corner radius

The Xamarin.Forms Button control’s corner radii can easily be customized with rounded edges.


Customization

You can easily customize the appearance as an outline, flat, circle, or icon button.

Xamarin Button as primary button.

Primary button

Primary is the default button with an accent color as the background.

Xamarin.Forms Button as normal.

Normal button

A button with a traditional look and appearance.

Xamarin Button without border or background color.

Flat button

A Xamarin Button without a border or background color.

Xamarin Button with border and without background color.

Outline button

A Xamarin.Forms Button with a border and without background color.

Xamarin.Forms Button with icon.

Icon button

A Xamarin.Forms Button with an icon and caption.

Xamarin.Forms Button as circle.

Circle button

A Xamarin.Forms Button with rounded edges and a font icon.


Xamarin Button Code Example

Easily get started with the Xamarin Button using a few simple lines of C# code as demonstrated below. Also explore our Xamarin Button Example that shows you how to render and configure the Xamarin Button.

<button:SfButton Text="Icon Button" ImageSource="Heart.png" ShowIcon="True">
</button:SfButton>
SfButton button = new SfButton();
button.Text = "Icon Button";
button.ImageSource = "Heart.png";
button.ShowIcon = True;



150+ XAMARIN UI CONTROLS

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

Frequently Asked Questions

The Syncfusion Xamarin Button provides the following:

  • The appearance or look and feel of the button can be customized to be circular, flat, outline, or icon.
  • Handle visual states such as pressed, normal, checked, and unchecked.
  • Use like a toggle button to toggle between two states.
  • Customize a button as an outline, flat, circle, or icon button.
  • One of the best Xamarin Button components in the market that offers a feature-rich UI.
  • Simple configuration and API.
  • Touch friendly and responsive.
  • Extensive demos and documentation to learn quickly and get started with Xamarin Button.

You can find our Xamarin Button 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

Syncfusion Xamarin.Forms Resources

Awards

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