以编程方式在 Xamarin.Forms 中打开 DatePicker
Programmatically open DatePicker in Xamarin.Forms
我想在图像上使用 GestureRecogniser
在 Xamarin.Forms 中打开 DatePicker
。
我知道 TapGestureRecogniser
部分。如何以编程方式在 Xamarin.Forms 中打开 DatePicker?
注意:这背后的真正原因是我不想要 WinPhone 的 DatePicker 自带的 Border
The real reason behind this is I dont want Border that comes with WinPhone's DatePicker
您应该能够为 Windows 平台 (https://developer.xamarin.com/guides/cross-platform/xamarin-forms/custom-renderer/)
使用自定义渲染器禁用边框
How do I programatically open DatePicker in Xamarin.Forms ?
DateTimePicker.Focus();
我想在图像上使用 GestureRecogniser
在 Xamarin.Forms 中打开 DatePicker
。
我知道 TapGestureRecogniser
部分。如何以编程方式在 Xamarin.Forms 中打开 DatePicker?
注意:这背后的真正原因是我不想要 WinPhone 的 DatePicker 自带的 Border
The real reason behind this is I dont want Border that comes with WinPhone's DatePicker
您应该能够为 Windows 平台 (https://developer.xamarin.com/guides/cross-platform/xamarin-forms/custom-renderer/)
使用自定义渲染器禁用边框How do I programatically open DatePicker in Xamarin.Forms ?
DateTimePicker.Focus();