Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ClipboardPasteCommand Class / CanExecute Method
The worksheet to paste data.


In This Topic
    CanExecute Method (ClipboardPasteCommand)
    In This Topic
    Gets a boolean value indicating whether Spread can paste data to the specified worksheet.
    Syntax
    'Declaration
     
    
    Public Shared Function CanExecute( _
       ByVal worksheet As IWorksheet _
    ) As Boolean
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim value As Boolean
     
    value = ClipboardPasteCommand.CanExecute(worksheet)
    public static bool CanExecute( 
       IWorksheet worksheet
    )

    Parameters

    worksheet
    The worksheet to paste data.

    Return Value

    true if Spread can paste data to the specified worksheet; otherwise, false.
    See Also