Software Architecture-Silverlight 4.0-New Feature-Clipbaord Support

While exploring new features of Silverlight 4.0, I discoivered that one of the new cool feature is Clipbaord support.

Text is written to Clipboard as:

Clipboard.SetText(" Data to be put Clipboard");            

Text is fetched from Clipboard as:

MessageBox.Show( Clipboard.GetText());

Clipboard access under partial trust (normal application) requires confirming access by via message box as:

The access details can be seen by right clicking the silverlight page in the permission tabs as:

Clipboard access under out-of-browser application (elevated rights), does not require permission confirmation message box.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: