is it possible to enable copy command on a textbox which is having IsEnabled property set to false in wpf?
+1
A:
Set the 'IsReadOnly' property to true, copy command would be enabled and textbox uneditable.
Branimir
2010-09-24 13:51:45
can't do that currently due to some reason.
saurabh
2010-09-24 13:54:22
The proper property name is "IsReadOnly"
Wonko the Sane
2010-09-24 14:35:10
@Wonko the SaneYou are right, thank you
Branimir
2010-09-24 14:44:28
A:
add a context menu to the form which will be displayed only if right-clicked on the disabled textbox. the context menu will have only one option, copy. in its event handler, copy the textbox content to the clipboard.
inam101
2010-09-24 14:42:16