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.
Use the visual state manager to make changes to the Xamarin Button based on the visual states set from code.
The Xamarin Button can be used as a toggle button to trigger two different actions based on its checked and unchecked states.
You can set images in the Xamarin Button control to provide an elegant view that matches your application.
You can apply the required custom view as a template to the Xamarin.Forms Button.
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.
The appearance of a button is highly customizable.
The border color can easily be customized to the desired color.
Border thickness can easily be customized to the desire value. You can also remove the border if it is not required.
The Xamarin.Forms Button control’s corner radii can easily be customized with rounded edges.
You can easily customize the appearance as an outline, flat, circle, or icon button.
Primary is the default button with an accent color as the background.
A button with a traditional look and appearance.
A Xamarin Button without a border or background color.
A Xamarin.Forms Button with a border and without background color.
A Xamarin.Forms Button with an icon and caption.
A Xamarin.Forms Button with rounded edges and a font icon.
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;
The Syncfusion Xamarin Button provides the following:
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 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.