TX Text Control .NET for Windows Forms

CanPaste Property

Property|Introduced in 23.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.WinForms.SDK as TXDrawing.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Informs whether the internal clipboard contains shapes that can be pasted into the TX Drawing Control.

Syntax

public bool CanPaste { get; }

Examples

The following example checks can paste before performing the related operation.

if (tXDrawingControl.CanPaste)
{
    tXDrawingControl.Paste();
}

Limitations

Read only.