CutCopyPasteHelper.CanCut Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

Syntax

'Declaration
Public Shared Function CanCut ( _
    context As EditingContext _
) As Boolean
'Usage
Dim context As EditingContext
Dim returnValue As Boolean

returnValue = CutCopyPasteHelper.CanCut(context)
public static bool CanCut(
    EditingContext context
)
public:
static bool CanCut(
    EditingContext^ context
)
public static function CanCut(
    context : EditingContext
) : boolean
static member CanCut : 
        context:EditingContext -> bool 

Parameters

Return Value

Type: System.Boolean
true if the number of the selected objects is more than 0 and context is not nulla null reference (Nothing in Visual Basic); otherwise, false.

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

CutCopyPasteHelper Class

CutCopyPasteHelper Members

System.Activities.Design Namespace