Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
The following XAML produces the attached image where the border radius is not honored on iOS (it works fine on Android). This appears to be a regression that didn't occur in v*.49, perhaps linked to : https://www.syncfusion.com/feedback/6555/xamarin-forms-sfborder-on-ios-appears-to-have-padding-truncation
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:border="clr-namespace:Syncfusion.XForms.Border;assembly=Syncfusion.Core.XForms"
IsClippedToBounds="True"
BackgroundColor="Transparent">
<ContentView.Content>
<border:SfBorder BorderColor="White" BorderWidth="0" HasShadow="False" x:Name="MainFrame" BackgroundColor="Transparent" Margin="0" Padding="0" IsClippedToBounds="True" CornerRadius="12">
<Grid Margin="0" Padding="0" x:Name="MainGrid" IsClippedToBounds="True" BackgroundColor="White">
</Grid>
</border:SfBorder>
</ContentView.Content>
</ContentView>
This control is used in the data template of an SfListView as follows:
<syncfusion:SfListView BackgroundColor="Transparent" SelectionMode="Single" SelectionBackgroundColor="Transparent" HeaderSize="0" FocusBorderColor="Transparent" IsScrollBarVisible="False" x:Name="StackLayoutFeatureTourItemViews" FooterSize="0" Padding="0" ItemSpacing="10" ColumnSpacing="10" Orientation="Horizontal"
ItemsSource="{Binding MyItems}" VerticalOptions="StartAndExpand" HorizontalOptions="StartAndExpand">
<syncfusion:SfListView.ItemTemplate>
<DataTemplate>
<local:MyViewControl HorizontalOptions="FillAndExpand" Padding="0" Margin="0" VerticalOptions="Start" />
</DataTemplate>
</syncfusion:SfListView.ItemTemplate>
</syncfusion:SfListView>