Hello !
I created a XAML page and a corresponding ViewModel.
But the value stay at 0.
Here's my code
XAML :
<numeric:SfNumericTextBox Grid.Column="1"
Value="{Binding NombrePlace, Mode=TwoWay, Converter={StaticResource StringToInteger}}"
MaximumNumberDecimalDigits="0"
AllowNull="True"
Watermark="Nombre de place"
HorizontalOptions="Fill"
FontSize="15"
Margin="0,0,0,5"/>
View Model :
public int NombrePlace
{
get { return _nombrePlace; }
set { _nombrePlace = value; }
}
private int _nombrePlace;
Any one know where did i made a mistake ?
Thanks ! :)