The document discusses the features and capabilities of Silverlight 4, including improvements to rich text support, networking, media playback, graphics and imaging, data binding, and tools. Key additions include support for webcam, microphone, printing, additional languages, hardware-accelerated effects, and improved deployment and security features for out-of-browser applications.
6. What is XAML?
XAML
Extensible Application Markup Language UI
defini)on
(for
designers)
Create
Structure
Lay-‐Out
UI
elements
UI
defini;on
Create
and
define
UI
elements
Animate
UI
elements
+
Code
Interac;vity
&
logic
7. Declarative Programming Through
XAML
• Easily
toolable,
declara)ve
markup
• Code
and
content
are
separate
• Can
be
rendered
in
the
browser
/
standalone
applica)on
XAML
C#
VB.NET
<BuAon
Width="100">
OK
BuAon
b1
=
new
BuAon();
Dim
b1
As
New
BuAon
<BuAon.Background>
b1.Content
=
"OK";
b1.Content
=
"OK"
LightBlue
b1.Background
=
new
SolidColorBrush b1.Background
=
New
_
</BuAon.Background>
(Colors.LightBlue);
SolidColorBrush(Colors.LightBlue)
</BuAon>
b1.Width
=
100;
b1.Width
=
100
8. What’s Silverlight?
• Cross-browser, Cross-platform Technology.
• Lightweight download.
• Provides a rich model for 2D drawing.
• Including buttons, text boxes, lists, grid and etc.
• Have a time-based animation model.
• Provides playback of Media Audio, Video.
• Includes a scaled-down version of the CLR.
• Can call ASP.NET Web Services or Windows Communication Foundation (WCF)
• Silverlight data binding provides a convenient way to display large amounts of data.
15. Silverlight 4
Elevated Trust Printing Webcam / Mic
Rich Text & Input Localized to 41
HTML Hosting Improvements Languages
16. Silverlight 4 Beta
Out of Browser Applications Databinding Improvements
Elevated Privileges Support (including Automation) DataBinding Support for DependencyObjects
HTML Hosting Support StringFormat, TargetNullValue & FallBackValue Properties
Notifications on Binding
Media Binding to String Indexers
WMS Multicast Support IDataErrorInfo Support
MP4 Playback Protected by PlayReady DRM Asynchronous Data Validation (INotifyDataErrorInfo)
Offline DRM ObservableCollection<T> IList/IEnumerable cstrs
Output Protection Graphics/Imaging
WebCam/Mic Support (raw stream only) Support for more PNG Formats
Printing Unseal Path
Printing Support CompositeTransform
Text Networking
RichTextBox UDP Listener
Arabic and Hebrew Text Support Automatically Adding Referer Header
IME Improvements for TextBox Authentication Support on ClientHttpWebRequest
UIElement.TextInput event Memory Usage Fix During Progressive Downloads
Controls, Control Model, Layout Tools Support
Theming via Implicit Styles Dispatcher Support on the Tools Design Surface
ViewBox SDK
RTL Layout ADO.NET Data Services 2.0 Support
DataGrid * Column Support Managed Extensibility Framework (MEF)
ItemsControl support for Blend Fluid Layout Better Transport for WCF (Socket Support)
MouseWheel Support on ScrollViewer, TextBox, ComboBox, Other
Calendar, DatePicker Support for C# & VB.NET 4.0 Features
VisualStateGroup.CurrentStateGroup property Expose Runtime Version to 3rd Party DLLs
Command Property on ButtonBase & Hyperlink NGEN Support for Core Runtime Binaries
SelectedValue and SelectedValuePath Properties on Selector Group Policy Hooks to Disable WebCam & Elevated Apps
Navigation
Navigation Loader Extensibility (Hook Frame Navigates)
17. Silverlight 4 RC
Parser Media
New architecture enables future innovation Webcam/Mic configuration preview
Performance and stability improvements More descriptive MediaSourceStream errors
XmlnsPrefix & XmlnsDefinition attributes Updates to H.264 content protection (ClearNAL)
Support setting order-dependent properties Digital Constraint Token
Input CGMS-A
Pinned full-screen mode on secondary display Graphics card driver validation & revocation
HTML hosting accessibility Graphics/Imaging
Arabic, Hebrew and Thai input on Mac Hardware-accelerated Perspective Transforms
Rich Text Ability to query page size and printable area
Text position and selection APIs Memory usage and perf improvements
RichTextBox.Xaml property for serializing text content Data
XAML clipboard format Entity-level validation support of INotifyDataErrorInfo for
FlowDirection support on Runs DataGrid
“Format then type” support XPath support for XML
Thai & Vietnamese input support SDK
UI Automation Text pattern System.Numerics.dll
Networking System.Xml.XPath.dll
UploadProgress support (client stack) Dynamic XAP support (MEF)
Caching support (client stack) Frame/Navigation refresh support
Sockets policy file retrieval via HTTP Other
Accept-Language header Support for 32 new languages (41 total)
Out of Browser / Elevated Trust Update to DeepZoom code base with HW acceleration
XAP signing Support for Private mode browsing
Silent install and emulation mode Google Chrome support (Windows)
Custom window chrome FrameworkElement.Unloaded event
Better support for Automation IsoStore perf improvements
Cancelable shutdown event
Updated security dialogs
Sockets security restrictions removal
18. Parser
• New architecture enables future
innovation
• Performance and stability improvements
• Support setting order-dependent
properties
• XmlnsPrefix & XmlnsDefinition attributes
19. Input
• Mouse wheel support
– ScrollViewer, TextBox, ComboBox, Calendar, DatePicker
• Pinned full-screen mode on secondary display
• HTML Hosting accessibility
• Arabic, Hebrew, Indic, Thai input and render
20. Rich Text
• RichTextBox control • “Format then type”
• Text position and support
selection APIs • UI Automation Text
• “Xaml” property for pattern
serializing text content • FlowDirection support
• XAML clipboard format on Runs
21. Networking
• UDP Listener
• Automatically Adding Referer Header
• Authentication Support on ClientHttpWebRequest
• UploadProgress support (client)
• Caching support (client)
• Sockets policy file retrieval via HTTP
• Accept-Language header
22. Out of Browser
• Support for Automation (native integration)
• HTML Hosting
• Notifications
• XAP signing
• Silent install and emulation mode
• Custom window chrome
• Better support for COM Automation
• Cancelable shutdown event
• Updated security dialogs
• Sockets security restrictions removal
23. Media
• MP4 Playback Protected by PlayReady DRM
• Offline DRM
• Output Protection
– Updates to H.264 content protection (ClearNAL)
– Digital Constraint Token
– CGMS-A
– Graphics card driver validation & revocation
• Webcam/Mic configuration preview
• More descriptive MediaSourceStream errors
• Content & Output protection updates
24. Graphics & Printing
• Support for more PNG Formats
• CompositeTransform
• HW accelerated Perspective Transforms
• Memory usage and perf improvements
• Printing support
– Ability to query page size and printable area
25. Data
• IDataErrorInfo Support
• Entity-level validation support of
INotifyDataErrorInfo for DataGrid
• StringFormat, TargetNullValue &
FallBackValue Properties on Binding
• Binding to String Indexers
• XPath support for XML
26. Wait, there’s more…
• NGEN Support for Core Runtime Binaries
• Support for 32 new languages (41 total)
• Theming via Implicit Styles
• Support for Private mode browsing
• Google Chrome support (Windows)
• Group Policy Hooks to Disable WebCam, Elevated
Apps, etc.
• IsoStore perf improvements
• SDK
• System.Numerics.dll & System.Xml.XPath.dll
• Dynamic XAP support (MEF)
• Frame/Navigation refresh support
27. Graphics
• Both vector and raster assets are
supported
• Raster
– Photoshop (PSD) import
– PNG 8/24
– JPG
• Vector
– Illustrator Import
– XAML Shape Class (Ellipse, Line, Path, etc.)