TextBox.CanPasteClipboardContent Property

Definition

Gets a value that indicates whether clipboard content can be pasted into the control.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.TextBox.CanPasteClipboardContent.

public:
 property bool CanPasteClipboardContent { bool get(); };
bool CanPasteClipboardContent();
public bool CanPasteClipboardContent { get; }
var boolean = textBox.canPasteClipboardContent;
Public ReadOnly Property CanPasteClipboardContent As Boolean

Property Value

Boolean

bool

true if clipboard content can be pasted into the control; otherwise, false.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to