We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback doesnt work without width and height

Thread ID:





142786 Feb 20,2019 12:20 AM UTC Feb 20,2019 12:53 PM UTC Xamarin.Forms 1
Tags: SfSegmentedControl
Asked On February 20, 2019 12:20 AM UTC

if i dont use a fix width or height like below. buttons:SfSegmentedControl  is not displayed correctly in the latest version it works in earlier versions just fine.

 <buttons:SfSegmentedControl   VerticalOptions="Fill"   SelectionChanged="segmentedControl_SelectionChanged" SelectedIndex="{Binding SelectedDatetype, Mode=OneWay}"
    x:Name="segmentedControl" Margin="10,10,10,0"  CornerRadius="15" BorderColor="#048EAC"       DisplayMode="Text" 
    VisibleSegmentsCount="4"   FontColor="Black"  HorizontalOptions="Center"  ItemsSource="{Binding Datetypes}"   Color="{OnIdiom Phone=#048EAC, Tablet=#048EAC, Default=White}" SelectionTextColor="{OnIdiom Phone=White, Tablet=White, Default=Black}">


Dhanasekar R [Syncfusion]
Replied On February 20, 2019 12:53 PM UTC

Hi Emil, 
Greetings from Syncfusion. 
We have could not reproduce the reported issue " doesnt work without width and height" on SfSegmentedControl. We have prepared a sample from the code snippet provided on your previous update and also we have took the output image on each platform. Please download the sample and image from the link give below. 
If the issue get reproduced at your end, please update us with modified sample, which will be helpful for us to provide better solution on this. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon