As the new (January 2011) Update to the Windows Phone Developer Tools adds support for Cut and Paste, can this be used programatically in code?
相关问题
- Markdown to clipboard as rich text
- An error is occur when we use navigation to move o
- Need a way to load image file into Mac clipboard u
- binding font-awesome character in XAML to Text
- Windows Phone 7 call ASMX web service
相关文章
- Working with hmacsha256 in windows store app
- How to add clipboard support to Matplotlib figures
- WP7 Alert dialog
- Add Service Reference and Add Web Reference?
- Scrollviewer & SIP Issue (WP7.5 Mango)
- Database for Windows Phone 7 [closed]
- Getting selected item in active window
- Windows phone 7: how to post tweet to twitter
No.
The January 2011 update does not include programatic access to the clipboard (or any new APIs). The clipboard can only be accessed by the user to cut and paste text. Yes, only text can be cut, copied and pasted.
Cut and paste functionality has been added to all textboxes and textboxes within your application will automatically get this ability when run on the updated emulator or a device which has had the update applied. This applies even if you make the textbox readonly.
If you are using a textbox within a Pivot or Panorama (which the guidelines advise against) you should review your app with regard to any possible problems in this area. (Sliding with a finger to expand the selected area may cause the pivot or panorama to slide. You probably don't want this.)
Mango Update
Mango (v7.1) introduces programmatic access to the Clipboard but only for setting text, not getting any text which is already there.
From MSDN: