C# WP8 从代码中打开 TimePicker [英] C# WP8 Open TimePicker from code

查看:33
本文介绍了C# WP8 从代码中打开 TimePicker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何打开 TimePicker 以选择新时间,但来自 C#?不是通过点击控件.

How can I open the TimePicker to select new time but from C#? Not by tapping the control.

有没有什么简单的方法可以做到这一点?

Is there any simple way to do that?

推荐答案

我曾经遇到过同样的问题.我通过 fork Windows Phone Toolkit 并公开控件的 OpenPickerPage 解决了这个问题.

I had the same problem once. I solved it by forking the Windows Phone Toolkit and making the OpenPickerPage of the control public.

这篇关于C# WP8 从代码中打开 TimePicker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆