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