Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

TextChanged event of Entry control is not working properly.

$
0
0

Hi all,
I have an Entry control. As I enter any number into it, the TextChanged event get called and the no. which I have entered in the entry, comes into NewTextValue. Suppose I enter "1" in the entry, NewTextValue="1". After entering the the four values into it, the length of NewTextValue turns to 4. After that I am doing the content of entry as empty i.e. Entry.text=String.Empty. Due to this, the TextChanged event will get called one more time and the value of NewTextValue becomes empty i.e. NewTextValue="". But after this I am doing nothing though the lenght of NewTextValue become 4 again. Does any one tell me why this is happening ?

Thank you.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>