开发热点周报:Google开发者大会 COBOL五十年

This item was filled under [ 新闻News ]

 51CTO综合报道上周的开发界热点是GoogleI/O大会,COBOL的50周年,.NET4.0的新功能以及测试相关的一些新闻。  阅读全文…

Silverlight Validation in Detail

This item was filled under [ 新闻News ]

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.
阅读全文…

Check your Silverlight 2 apps for compatibility with Silverlight 3

This item was filled under [ 新闻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. 阅读全文…

Where’s Jesse?

This item was filled under [ 新闻News ]

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)

阅读全文…

Oracle承诺大力投资Java 有意开发Java电脑

This item was filled under [ 新闻News ]

【IT168 信息化甲骨文(Oracle)执行长Larry Ellison出席本周于旧金山举行的JavaOne会议时指出,甲骨文将持续大力投资由Sun所开发的Java技术,甚至未来还想开发Java小型笔记本电脑。 
阅读全文…

12.4 使用值转换器(图)

This item was filled under [ 新闻News ]

 12.4 使用值转换器 

  在控制数据呈现的过程中,往往需要将源数据经过转化后,再呈现出来。比如将一个RGBA类型的数据转化为string类型显示出来,将数据存储为浮点类型,但通过货币的形式呈现;还有将日期存储成DateTime格式,在界面上显示时使用Calender控件等。 阅读全文…

12.3.1 使用ObservableCollection(1)

This item was filled under [ 新闻News ]

  12.3 绑定到集合 

  数据绑定的数据源对象可以是一个含有数据的单一对象,也可以是一个对象的集合。之前,一直在讨论如何将目标对象与一个单一对象绑定。Silverlight中的数据绑定还能将目标对象与集合对象相绑定,这也是很常用的。比如显示文章的题目列表、显示一系列图片等。 阅读全文…

14.1.1 创建自定义控件(1)(图)

This item was filled under [ 新闻News ]

  14.1.1 创建自定义控件(1) 

  自定义控件定义了一系列部件和状态模型,这些部件和状态组成了自定义控件的界面和行为。

  创建自定义控件的过程包括创建自定义控件界面、创建交互行为和定义控件契约。这里以创建一个NumericUpDown的用户控件为例,介绍如何创建一个自定义控件。
阅读全文…

12.3.3 实现主从关系视图

This item was filled under [ 新闻News ]

12.3.3 实现主从关系视图 

  当绑定到集合时,通常希望将数据以主从关系视图的形式显示,使用主视图显示所有集合元素的列表,使用从属视图显示集合中选中项的详细信息。
阅读全文…

12.5 数据的校验(组图)

This item was filled under [ 新闻News ]

 12.5 数据的校验 

  在双向绑定由目标到数据源更新数据的过程中,Silverlight支持对数据的校验。当遇到以下两种情况时,Silverlight将会报告数据验证错误。

  转换绑定数据时抛出异常。

  绑定数据源对象的set访问器抛出异常。 阅读全文…