New to Telerik UI for WPFStart a free 30-day trial

Button

Updated on Sep 15, 2025

The RadButton control inherits from the Button control and implements the ICommandSource interface. Because of the inheritance it has all of the features that the standard Button control has. Moreover, the ICommandSource implementation allows you to attach commands to the button, which will get executed when it gets clicked.

To learn more about the members of the RadButton class, you can read here.

To learn how to use it with commands you should read the Commands topic.

Instantiating RadButton

You can instantiate your RadButton in both XAML and code. Here is an example:

The RadButton control is located in the Telerik.Windows.Controls.dll and in order to use it in your project you have to add a reference to the assembly. You can find more info here.
Then in XAML you have to declare the namespace: xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

Example 1: Defining a button in XAML

XAML
	<telerik:RadButton Content="Click Me!" />

Example 2: Defining a button in code

C#
	RadButton radButton = new RadButton(){Content = "Click Me!"};

Figure 1: The created button

The created button

Handling the Button Click

If you want to implement custom logic to be executed when the button is clicked, you can either:

  • handle the Click event.

or

  • use Commands.

You can see how to use commands in the Commands article.

Here is an example of handling the Click event of a button.

Example 3: Subscribing to the Click event

XAML
	<telerik:RadButton Content="Click Me!" Click="RadButton_Click" />

Example 4: Defining a Click event handler

C#
	private void RadButton_Click(object sender, RoutedEventArgs e)
	{
	    //implement your logic here
	}

Customizing the RadButton

See Also