Articles in this section

How to remove the border in Xamarin.Forms.UWP SfPicker

The border in Xamarin.Forms.UWP SfPicker can be removed by setting BorderColor as transparent.

The following steps explain how to remove the border in Xamarin.Forms.UWP SfPicker.

Step 1: Create a view model class and add items to display in Xamarin.Forms.UWP SfPicker.

Step 2: Add the picker in XAML and set the properties that needs to be displayed in Xamarin.Forms.UWP SfPicker.

Step 3: Set the border color of Xamarin.Forms.UWP SfPicker as transparent to remove the border.

The following code sample demonstrates how to remove the border in Xamarin.Forms.UWP SfPicker.

XAML:

<sfPicker:SfPicker PickerHeight="400" PickerWidth="300"
                       ShowColumnHeader="True"
                       BorderColor="Transparent"
                       ItemsSource="{Binding PickerItems}" 
                       ColumnHeaderText="{Binding ColumnHeaders}"
                       HeaderText="Pick a job"
                       ShowHeader="True">
</sfPicker:SfPicker> 

 

Output:

Remove border in Xamarin.Forms.UWP SfPicker

 

You can find the sample in the following link: Sample

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied