Category / Section
How to create a rounded corner SfTextInputLayout in Xamarin.Forms
1 min read
This section explains how to set TextInputLayout with rounded corner as below.
Step 1: Refer to this Getting started documentation to create a simple SfTextInputLayout sample in Xamarin.Forms.
Step 2: Set a value for the OutlineCornerRadius property of SfTextInputLayout control as below.
xmlns:textInputLayout ="clr-namespace:Syncfusion.XForms.TextInputLayout;assembly=Syncfusion.Core.XForms" .. <textInputLayout:SfTextInputLayout Hint="Name" ContainerType="Outlined" OutlineCornerRadius="10" FocusedColor="Blue" UnfocusedColor="Green"> <Entry Text="James"/> </textInputLayout:SfTextInputLayout>
See Also
What are the supported input views
How to customize the font in Xamarin.Forms SfTextInputLayout
How to customize the hint text position