Xamarin Stepper在输入时增加

我想要一个步进器来增加/减少条目中的值。我在网上引用了其他帖子,但是我的增量不起作用。我是否需要代码才能使Entry中的值增加?

a

 <Entry BindingContext="{x:Reference stepper}" Text="1" />


 <Stepper x:Name="stepper" Minimum="1" Maximum="4" Increment="1"/>