我正在尝试显示我的应用程序注册的警报列表。
I'm trying to display the list of alarms registered by my app.
所以基本上内容面板上有一个包含数据模板的列表框
So basically the content panel has a listbox with a data template in it
数据模板包含以下文本框: -
The data template has these text boxes:-
< TextBlock Text =" {Binding Title}">
<TextBlock Text="{Binding Title}">
< TextBlock Text =" {Binding Content}">
<TextBlock Text="{Binding Content}">
< TextBlock Text =" {Binding BeginTime}">
<TextBlock Text="{Binding BeginTime}">
前两个文本框按照我想要的方式工作,但第三个文本框显示整个日期和时间。
The first two textboxes work they way I want them too but the third one shows the entire date along with the time.
有没有办法只显示时间
还可以显示星期几吗?
推荐答案
您好,
是,请在以下文档中搜索Binding Converter:
Yes, do a search for Binding Converter in the following document:
charlespetzold/phone/index.html
-Hope这有帮助, Mark
-Hope this helps, Mark
更多推荐
显示警报的绑定数据?
发布评论