Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Segmented Control Selected Index Always showing Zero

HarshitaHarshita INMember ✭✭✭✭

Plugin.Segmented control always through 0 Index

Here is my XAML




My PageModel(Using FreshMVVM)
private int _selectedSegment;
public int SelectedSegment
get { return _selectedSegment; }
_selectedSegment = value;
public Command SegIndexChanged
return new Command(() =>
Application.Current.MainPage.DisplayAlert("Message", "Selected Index is : " + SelectedSegment, "Ok");

It always showing 0 Index. why?


Sign In or Register to comment.