Getting Started

This example will guide you through the steps needed to add a basic RadButton control in your application.

Before you proceed, please, take a look at these articles and follow the instructions to setup your app:

Example

If your app is correctly set, you are ready to add a RadButton control to the page:

<telerikInput:RadButton x:Name="button" 
                        Text="Click me!"  
                        BorderThickness="2" 
                        BorderColor="#4488F6" 
                        Clicked="button_Clicked"/>

In addition to this, you need to add the following namespace:

xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
using Telerik.XamarinForms.Input;

Then define the Click event handler:

private void button_Clicked(object sender, System.EventArgs e)
{
   //implement your logic here.
}

Here is the result:

Button Getting Started Example

SDK Browser and QSF applications contain different examples that show RadButton's main features. You can find the applications in the Examples and QSF folders of your local Telerik UI for Xamarin installation.

See Also

In this article
Not finding the help you need? Improve this article