
Informs whether a part of a Text Control document has been selected and can be copied to the clipboard.
[C#]
public bool CanCopy { get; }
[Visual Basic]
Public ReadOnly Property CanCopy() As Boolean
Runtime only.
Read only.
The following XAML example shows how to bind the CanCopy property to the IsEnabled attribute of a menu item.
<MenuItem
Header="Copy"
Command="ApplicationCommands.Copy"
IsEnabled="{Binding ElementName=textControl1, Path=CanCopy}" />