How can you make the content of a ListBoxItem copyable? not editable.
A:
You can achieve this using a contextmenu, a button or keybinding(Ctrl+C)
If you've your ListBoxItem content ready in your viewmodel then in the command initiated by one of the above say
Clipboard.SetData(DataFormats.Text, (Object)contentOfListBoxItem);
This would copy the contentOfListBoxItem to clipboard
Veer
2010-06-18 07:26:39