CutCopyPasteHelper.CanCopy Method (EditingContext)

.NET Framework (current version)
 

Verifies whether items can be copied from the specified editing context.

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

public static bool CanCopy(
	EditingContext context
)

Parameters

context
Type: System.Activities.Presentation.EditingContext

The editing context to be verified.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 4.0
Return to top
Show: