Archive for 六月 2009
51CTO综合报道上周的开发界热点是GoogleI/O大会,COBOL的50周年,.NET4.0的新功能以及测试相关的一些新闻。 (更多…)
No tags
In a previous post I mentioned that Silverlight 3 has enhanced support for data entry validation. In this first of two mini-tutorials on the topic, I will take you through the process of implementing validation in some detail.
(更多…)
No tags
5
Check your Silverlight 2 apps for compatibility with Silverlight 3
No comments · Posted by admin in 新闻News
One of the goals of new versions of Silverlight is to be be backward compatible with previous versions. We make this a priority goal so that people can keep their previous applications deployed while not worrying that people with newer Silverlight will have a broken experience. (更多…)
No tags
From now until sometime this summer, you may notice bursts of slow. Please mark this up to:
- Summer vacation
- Building embargoed videos so that we have lots of great stuff ready when Silverlight 3 is released
- Updating older videos, tutorials, etc., so that they work great when Silverlight 3 is ready
- Planning Silverlight 4 <smile>
- Vacation (what??)
- Cooking hard on the VideoWiki project’s new incarnation (more soon)
No tags
【IT168 信息化】甲骨文(Oracle)执行长Larry Ellison出席本周于旧金山举行的JavaOne会议时指出,甲骨文将持续大力投资由Sun所开发的Java技术,甚至未来还想开发Java小型笔记本电脑。
(更多…)
No tags
12.4 使用值转换器
在控制数据呈现的过程中,往往需要将源数据经过转化后,再呈现出来。比如将一个RGBA类型的数据转化为string类型显示出来,将数据存储为浮点类型,但通过货币的形式呈现;还有将日期存储成DateTime格式,在界面上显示时使用Calender控件等。 (更多…)
No tags
12.3 绑定到集合
数据绑定的数据源对象可以是一个含有数据的单一对象,也可以是一个对象的集合。之前,一直在讨论如何将目标对象与一个单一对象绑定。Silverlight中的数据绑定还能将目标对象与集合对象相绑定,这也是很常用的。比如显示文章的题目列表、显示一系列图片等。 (更多…)
No tags
14.1.1 创建自定义控件(1)
自定义控件定义了一系列部件和状态模型,这些部件和状态组成了自定义控件的界面和行为。
创建自定义控件的过程包括创建自定义控件界面、创建交互行为和定义控件契约。这里以创建一个NumericUpDown的用户控件为例,介绍如何创建一个自定义控件。
(更多…)
No tags
12.5 数据的校验
在双向绑定由目标到数据源更新数据的过程中,Silverlight支持对数据的校验。当遇到以下两种情况时,Silverlight将会报告数据验证错误。
转换绑定数据时抛出异常。
绑定数据源对象的set访问器抛出异常。 (更多…)
No tags
