2 Answers

1
votes

You can retrieve the model using the control's binding context. Then access the corresponding ID or other properties there:

private void OnStepperValueChanged(object sender, ValueChangedEventArgs e)
{
    Stepper stepper = sender as Stepper;
    var model = stepper.BindingContext;
    // model.id
    // model.Count
}
0
votes

To get the current selected value in the stepper you can just:

  void OnStepperValueChanged(object sender, ValueChangedEventArgs e)
    {
        double count = e.NewValue;
    }