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
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The WPF Button is an advanced control that offers features such as checkable support, multiline support, image size options, different button size modes, and icon templates. A split button and dropdown button are extended from the WPF Button with different characteristics to meet different application needs. The Button control is compatible with the MVVM design pattern.


WPF Image Button

The advanced WPF button supports images along with text. With checkable support, the button control imitates the check box functionality and resembles toggle button with different states.

Advanced Buttons WPF


The WPF dropdown button provides advanced menu-like appearance to the button UI. When the arrow is clicked, it displays a dropdown list for selection. Other features of the dropdown menu and its items include boundary detection, title text, icon setting, check selection, etc.

WPF Dropdown Button


Split button

The split button is a combination of a button and a menu control. The button itself provides a default selection or when the arrow is clicked, displays a dropdown list for other possible selections.

WPF Split Button


Different button sizes

The WPF button comes in different sizes like small, normal, and large.

Small size button

Small Button

In a small size button, only a small image representing the purpose of the button will be displayed. There will be no text.

Normal size button

Normal Button

In a normal size button, a small image with the text on the side will be displayed.

Large size button

Large Button

In a large size button, a large image along with the text at the bottom will be displayed.


Icon Template

The WPF button, dropdown button and split button supports adding any type of images such as path data, font icons, etc. as template.

Path support for button

Button

Path support for Dropdown button

Path support for Split button

Split Button


Different image sizes

The WPF button image can be set in small and large sizes. Apart from the predefined sizes, the size of the image can also be set manually using height and width settings.

Different button images in WPF ButtonAdv


Command binding

The WPF button control facilitates command binding support that is best suited to the MVVM approach. Predefined commands such as cut, copy, paste, etc. can be accommodated.


Displaying multiline content

In large buttons, text can be displayed in multiple lines based on the length of the content for better user experience.

MultiLine Content Dispaly


Toggle State

When the IsCheckable property is set to true, the button control can also be used as a toggle button, similar to the on/off view. The default value of this property is false.

WPF Button Toggle State Support


Custom style and themes

Built-in theme support in WPF Button

Built-in themes

Shipped with built-in themes like Blend, Office 2010, Office 2013, Office 2016, Office 365, Visual Studio 2013, Visual Studio 2015, Metro, etc.

Custom styling support in WPF Button

Custom styling

The appearance of the control can be customized to any extent programmatically.

Customize WPF Button appearance using theme studio

Theme studio

Easy to customize all aspects of appearance using the theme studio utility.


Localization

Allows users to customize the text in the user interface based on the local culture.

Localization for Button


Right-to-left (RTL)

The text direction and layout of the control can be displayed in the right-to-left direction.

RTL Support


UI Automation

The WPF button is compatible with Coded UI and UFT (formerly QTP) automation tools.

UI Automation of WPF Button control


WPF Button Code Example

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

<syncfusion:ButtonAdv  
     Height="44"   
     VerticalAlignment="Center"  
     HorizontalAlignment="Center"  
     Width="162"/>
using Syncfusion.Windows.Tools.Controls;     
    namespace WpfApp1 
    {    
        public partial class MainWindow : Window 
        { 
            public MainWindow() 
            { 
                InitializeComponent(); 
                ButtonAdv button = new ButtonAdv(); 
                button.Height=44; 
                button.Width=31; 
                this.Content =  button; 
            } 
        } 
    }



95+ WPF CONTROLS

Frequently Asked Questions

The Syncfusion WPF Button provides the following:

  • Buttons can be loaded in three different sizes, small, normal, and large. Images can be added to the different button modes.
  • Toggle and multiline support.
  • Provides MVVM design pattern and command binding compatibility.
  • One of the best WPF Button in the market that offers feature-rich UI to interact with the software.
  • Simple configuration and API.
  • Touch-friendly and responsive UI.
  • Extensive demos, documentation to learn quickly and get started with WPF Button.

You can find our WPF Button demo on

GitHub location.

App center location.

Microsoft location.

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 WPF 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