且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

触发Xamarin.Forms选择器

更新时间:2022-12-03 09:11:04

您可以命名选择器(例如myPicker)并调用其Focus事件.确保在调用myPicker.Focus()时位于主线程上

You can name the picker (e.g. myPicker) and call its Focus event. Do make sure that you're on the main thread at the time you're calling myPicker.Focus()