How can I copy the text of a Button in the clipboard?
I have a simple button in my app:
<Button Content="{Binding ViewModel.Name}" Command="{Binding
ViewModel.Command}" MinWidth="50">
</Button>
I want that when you press right click in the button, the content (text)
inside the button will be copied in the clipboard.
Can we do it?
Thanks in advance
No comments:
Post a Comment