Archive for 2011年4月













Read Full Post »

Silverlight5 Beta 发布与相关新特性



Silverlight5 Beta已经发布。

Silverlight5 新特性:
1.Multiple Window Support
Multiple window support enables a trusted application to dynamically create additional top level windows.
2.Ancestor RelativeSource Binding
Ancestor RelativeSource Binding enables a DataTemplate to bind to a property on the control that contains it, equivalent to FindAncestor and AncestorType, AncestorLevel bindings in WPF.
3.Implicit DataTemplates
This feature enables the following capabilities:
1. ContentPresenter DataTemplates can be selected based upon the content type.
2. Implicit definition of DataTemplates
3. Dynamically update the ContentPresenter DataTemplate when its content changes
4. Enable proper scoping of DataTemplates
Enables Multi‐click input on left and right mouse button.
5.Binding on Style Setter
Binding in style setters allows bindings to be used within styles to reference other properties.
6.Trusted applications in‐browser
Silverlight 5 enables trusted applications to run in‐browser for the first time. The Beta includes support for two features: Elevated In‐Browser via Group Policy & In‐Browser HTML support w/Group Policy.
7.Realtime Sound (low‐latency Audio)
Enables pre‐loading of an audio source for precision timing of playback. Multiple playback instances are supported through creation of SoundEffectInstance objects.
8.Variable Speed Playback (“Trick Play”)
This API enables development of fundamental player experiences such as fast‐forward and rewind and variable speed playback at common speeds (1.2x, 1.4x) – a very common scenario for enterprise training content. The MediaElement.Rate property supports the values ‐8.0, ‐4.0, 0.5, 1, 4.0, 8.0. Note : AudioPitch correction is not present in the Beta but will be added for the final release.
9.Linked Text Containers
Enables RichTextBox controls to be associated and text to overflow from one into the next. multiple RichTextBoxOverflows can be chained (from an initial RichTextBox) to automatically spread text across a pre‐defined free‐form layout or multiple column layout.
10.Text Tracking & Leading
Tracking/leading set more precisely how far apart each character is for extra creative control, Adding finer grained control over the spacing between letters in words in the RichTextbox control.
11.Custom Markup Extensions
Custom markup extensions allow you to run custom code from XAML. Markup extensions allow code to be run at XAML parse time for both properties and event handlers, enabling cutting‐edge MVVM support.
12.XAML Binding Debugging
Data binding debugging allows breakpoints to be set in XAML binding expressions so developers can step through binding issues, examine the Locals window, and create conditional breakpoints.
13.3D Graphics API
Silverlight 5 now has a built‐in XNA 3D graphics API to enables you to build rich, GPU accelerated visualizations and rich user experiences. This includes a new 3D drawing surface control as well as immediate mode GPU access, shaders and effects for 2D and 3D use.
Silverlight5 Beta本次更新还包含了以下特性:

  • Hardware video decode for H.264 playback.
  • Multi‐core background JIT support for improved startup performance.
  • ComboBox type ahead with text searching.
  • Full keyboard support in full‐screen for trusted in‐browser applications, enables richer kiosk and media viewing applications in‐browser.
  • Default filename in SaveFileDialog – Specify a default filename when you launch the SaveFileDialog.
  • Unrestricted filesystem access – trusted applications can Read write to files in any directory on the filesystem.
  • Improved Graphics stack – The graphics stack has been re‐architected to bring over improvements from WP7, such as Independent Animations.
  • Performance optimizations –
  • XAML Parser performance optimizations.
  • Network Latency optimizations.
  • Text layout performance improvements.
  • Hardware acceleration is enabled in windowless mode with Internet Explorer 9.

Silverlight5 Beta相关视频介绍下载—WMV格式:

Read Full Post »