我是Xamarin Forms的新手,我想检查用户输入的时间,以便我可以基于此进行操作
<Entry IsPassword="True"
Placeholder="password"
Style="{StaticResource InputStyle}"
Text=""
Margin="16,0,16,0">
<Entry IsPassword="True"
Placeholder="password"
Style="{StaticResource InputStyle}"
Text=""
TextChanged="Entry_TextChanged"
Margin="16,0,16,0">
并将其添加到页面后面的代码中以进行捕获:
void Entry_TextChanged(System.Object sender, TextChangedEventArgs e) { //do something here }