Styling

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 can define the BorderStyle in the Resources of your page as shown in the example below:

<telerikInput:BorderStyle x:Key="EntryBorderStyle" 
                          BorderThickness="2" 
                          BorderColor="Red" />

And then apply that Style to the Entry instance:

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

Entry BorderStyle

Font Options

RadEntry control has the following properties for defining the Font Options:

  • FontAttributes
  • FontFamily
  • FontSize
<StackLayout>
    <telerikInput:RadEntry Text="Normal Text" x:Name="entry"/>
    <telerikInput:RadEntry Text="Bold Text - Large" FontAttributes="Bold" FontSize="Large" />
    <telerikInput:RadEntry Text="Italic Text - Medium" FontAttributes="Italic" FontSize="Medium"/>
    <telerikInput:RadEntry Text="Italic and Bold Text - Small"  FontSize="Small" x:Name="smallEntry"/>
    <telerikInput:RadEntry Text="Micro Text"  FontSize="Micro" />
</StackLayout>

See Also

In this article
Not finding the help you need?