Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
SfNumericUpDown configured with double parsing and bind working hours with the two-way binding mode. If we edit the value means the resultant value datatype is decimal in the Android platform.
Source Code:
Style="{StaticResource NumericUpDownStyle}"
Value="{Binding WorkWeekModel.FridayWorkingHours,
Converter={StaticResource TimeSpanToDoubleConverter}}" />
<Style x:Key="NumericUpDownStyle"
TargetType="numericUpDown:SfNumericUpDown">
<Setter Property="Minimum" Value="0" />
<Setter Property="Maximum" Value="12" />
<Setter Property="MaximumDecimalDigits" Value="2" />
<Setter Property="StepValue" Value="0.25" />
<Setter Property="ParsingMode" Value="Double" />
<Setter Property="SelectAllOnFocus" Value="True" />
<Setter Property="SpinButtonAlignment" Value="Both"
/>
</Style>