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 .NET MAUI Custom Button is a UI customization control. Users can set icons, background images, and corner edge radii and customize the appearance for different visual states using the visual state manager.


Image support

Set images in the .NET MAUI Button control to provide an elegant view that matches the application.

.NET MAUI Button with an image as the background.


Custom content

Apply the required custom view as a template to the .NET MAUI Button.

.NET MAUI 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.

.NET MAUI Button with customized font.


Appearance

The appearance of a button is highly customizable.

.NET MAUI Button Border Color

Border color

The border color of the button can easily be customized to any desired color.

.NET MAUI Button Border Thickness

Border thickness

The border of the buttons can easily be customized to the desired thickness. Users can also remove the border if it is not required.

.NET MAUI Button Custom Corner Radius

Corner radius

The .NET MAUI Button control’s corner radii can easily be customized to create rounded edges.


Customization

Users can easily customize the appearance of a button as an outline, flat, circle, or icon.

.NET MAUI Button as primary button.

Primary buttons

A primary button is the default button with an accent color as the background.

.NET MAUI Button as normal.

Normal buttons

A button with a traditional look and appearance.

.NET MAUI Button without border or background color.

Flat buttons

A .NET MAUI Button without a border or background color.

.NET MAUI Button with border and without background color.

Outline buttons

A .NET MAUI Button with a border and without a background color.

.NET MAUI Buttons with icons.

Icon buttons

A .NET MAUI Button with an icon and caption.

.NET MAUI Buttons as circles.

Circular buttons

A .NET MAUI Button with rounded edges and a font icon.


.NET MAUI Button Code Example

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

<button:SfButton Text="SfButton" TextColor="White"/>
SfButton button = new SfButton();
button.Text = "SfButton";
button.TextColor = Colors.White;

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

Syncfusion .NET MAUI 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