CanPaste Method
Collapse the table of content
Expand the table of content

CutCopyPasteHelper.CanPaste Method (EditingContext)

.NET Framework (current version)
 

Returns a Boolean that indicates whether the specified objects can be pasted.

Namespace:   System.Activities.Presentation
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public static bool CanPaste(
	EditingContext context
)

Parameters

context
Type: System.Activities.Presentation.EditingContext

The editing context for the paste operation.

Return Value

Type: System.Boolean

true if the number of the specified objects is more than 0 and not null; otherwise, false.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft