Silverlight Overview
Total Page:16
File Type:pdf, Size:1020Kb
Silverlight 4 Overview Technical Feature Overview Contents Credits ........................................................................................................................................................... 6 Introduction .................................................................................................................................................. 7 Enabling Business Application Development ................................................................................................ 8 Printing .................................................................................................................................................. 8 Localization with Bi-Directional and Script-Based Text and Right-to-Left Support .............................. 8 Extended Language Support ................................................................................................................. 9 RichTextBox Control .............................................................................................................................. 9 Text Input ............................................................................................................................................ 11 Viewbox Control .................................................................................................................................. 11 Auto-Sizing Columns and Copy from DataGrid ................................................................................... 12 Navigation Page Loading Extensibility ................................................................................................ 13 Command Property on ButtonBase and Hyperlink ............................................................................. 13 SelectedValue and SelectedValuePath on the Selector ...................................................................... 13 Support for Referer Header ................................................................................................................ 15 UDP Multicast Client Support ............................................................................................................. 15 Networking Enhancements ................................................................................................................. 15 WCF TCP-based Binding ...................................................................................................................... 15 WCF PollingDuplex Improvements ..................................................................................................... 16 Authentication Support with ClientHttpWebRequest ........................................................................ 16 IDataErrorInfo ..................................................................................................................................... 16 INotifyDataErrorInfo ........................................................................................................................... 19 Grouping on CollectionViewSource .................................................................................................... 20 Editable CollectionView IEditableCollectionView ............................................................................... 20 Binding to String Indexers ................................................................................................................... 20 TargetNullValue .................................................................................................................................. 21 StringFormat ....................................................................................................................................... 21 FallbackValue ...................................................................................................................................... 22 Databinding Support for Dependency Objects ................................................................................... 22 XPath Support for XML........................................................................................................................ 23 ObservableCollection<T> Constructor Accepts IList and IEnumerable .............................................. 23 Isolated Storage Enhancements ......................................................................................................... 23 Managed Extensibility Framework (MEF) ........................................................................................... 23 SDK Enhancements ............................................................................................................................. 25 Microsoft Silverlight 4 Tools for Visual Studio 2010 ........................................................................... 25 WCF RIA Services......................................................................................................................................... 27 Overview of WCF RIA Services in Silverlight 4 .................................................................................... 27 Key Problems Solved ........................................................................................................................... 27 Key Classes: DomainService and DomainContext ............................................................................... 27 DomainService Operations ................................................................................................................. 28 Endpoints ............................................................................................................................................ 28 DomainContext Generation ................................................................................................................ 28 Authentication and Authorization ...................................................................................................... 29 Validation and MetaData .................................................................................................................... 29 DomainDataSource ............................................................................................................................. 29 WCF RIA Services Toolkit..................................................................................................................... 29 Performance and Reliability ................................................................................................................ 29 Notes ................................................................................................................................................... 30 Empowering Richer Experiences ................................................................................................................. 31 Hardware Accelerated PlaneProjection .............................................................................................. 31 Word Based Text Trimming (trailing ellipses) ..................................................................................... 31 Implicit Styles ...................................................................................................................................... 31 MouseWheel Support ......................................................................................................................... 32 Right Mouse Click ................................................................................................................................ 32 Programmatic Clipboard Access ......................................................................................................... 33 Silverlight as a Drop Target ................................................................................................................. 34 Handle Drag-and-Drop Events for Macintosh ..................................................................................... 35 Webcam and Microphone Support .................................................................................................... 36 Webcam and Microphone Permissions .............................................................................................. 39 CompositeTransform .......................................................................................................................... 39 Support for all PNG Formats ............................................................................................................... 40 Offline Digital Rights Management ..................................................................................................... 40 MP4 Playback Protected DRM ............................................................................................................ 41 WMS Multicast .................................................................................................................................... 41 Output Protection ............................................................................................................................... 41 Parser Enhancements ......................................................................................................................... 41 Deep Zoom .......................................................................................................................................... 42 Google Chrome Support ..................................................................................................................... 42 Private Mode Browsing