New to Telerik UI for Xamarin? Download free 30-day trial

Theming and Style

BorderStyle

The BorderStyle(of type Telerik.XamarinForms.Input.BorderStyle) property allows you to customize the border around the Entry through the following properties:

  • BorderColor(Color),
  • BorderThickness(Thickness)
  • CornerRadius(double)

You could define the BorderStyle in the Resources of your page as shown in the example below:

<telerikInput:BorderStyle x:Key="EntryBorderStyle" BorderThickness="1" BorderColor="#4488F6" CornerRadius="8" />

And then apply that Style to the Entry instance:

<telerikInput:RadEntry x:Name="entry" WatermarkText="First Name" BorderStyle="{StaticResource EntryBorderStyle}"/>

Theming

You can find a working demo labeled Theme in the Entry/Features folder of the SDK Samples Browser application.

See Also

In this article