Nevron .NET Vision
Nevron.UI.ToolStrips Namespace / NCommand Class / CanExecute Method


In This Topic
    CanExecute Method (NCommand)
    In This Topic
    Determines whether the command can be executed.
    Syntax
    'Declaration
     
    
    Public Overridable Function CanExecute() As System.Boolean
    'Usage
     
    
    Dim instance As NCommand
    Dim value As System.Boolean
     
    value = instance.CanExecute()
    public virtual System.bool CanExecute()

    Return Value

    True if command can be executed, false otherwise.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also