2 Answers2

1

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
}
Ax1le
  • 6,563
  • 2
  • 14
  • 61
0

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

  void OnStepperValueChanged(object sender, ValueChangedEventArgs e)
    {
        double count = e.NewValue;
    }
Bruno Caceiro
  • 7,035
  • 1
  • 26
  • 45