Today I’ll write some information about clipboard, new features of DataGrid and mouse scrolling.
Silverlight 4 adds the ability to programmatically access the clipboard to format and modify data during copy, cut, and paste operations (text only). When an attempt is made to programmatically access the clipboard for the first time, Silverlight will prompt the user to request permission.
You can copy a row of a DataGrid to the clipboard (CTRL + C) and then paste it to another program (f.e Excel). You can control what is copied for a particular column by using the DataColumn.ClipboardContentBinding property to point to different data if the cell contents aren’t what you want to have copied.
The DataGrid in Silverlight now has the ability to allow columns to share the remaining width of a DataGrid (*). It also supports MouseWheel scrolling and the FlowDirection property.
Useful links
- http://silverlight.net/learn/videos/all/mousewheel-api/
- http://channel9.msdn.com/learn/courses/Silverlight4/PicBrowser/PicBrowser/
- http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/11/18/silverlight-4-rough-notes-mousewheel-support-in-controls.aspx
- http://msdn.microsoft.com/en-us/library/dd759034(VS.96).aspx
- http://microsoftpdc.com/Sessions/P09-11
- http://scorbs.com/2009/11/19/pdc-session-silverlight-4-beta-overview/
- http://silverlight.net/learn/videos/all/accessing-global-clipboard/
- http://channel9.msdn.com//learn/courses/Silverlight4/RichTextEditor/RichTextEditor/
- http://www.ningzhang.org/2009/11/18/silverlight-clipboard-api/
- http://msdn.microsoft.com/en-us/library/system.windows.clipboard(VS.96).aspx
- http://silverlight.net/learn/videos/all/datagrid-enhancements/
- http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/11/18/silverlight-4-rough-notes-data-grid-enhancements.aspx
No comments:
Post a Comment