New to Telerik UI for .NET MAUI? Start a free 30-day trial

Migrating the Button from Xamarin.Forms to .NET MAUI

Telerik .NET MAUI Button control inherits from .NET MAUI Button. The Telerik Xamarin.Forms Button inherits from Xamarin.Form Button.

The tables in the following sections list the differences between the APIs of the Xamarin.Forms Button and .NET MAUI Button.

Namespaces Differences

When migrating the Button from Xamarin to .NET MAUI, consider the following differences in the namespaces:

Control Control name XAML Namespace C# Namespace
Xamarin Button RadButton xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input" using Telerik.XamarinForms.Input;
.NET MAUI Button RadButton xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui" using Telerik.Maui.Controls;

See Also

In this article