Nevron .NET Vision
Nevron.UI.ToolStrips Namespace / NCommand Class / Enabled Property


In This Topic
    Enabled Property (NCommand)
    In This Topic
    Gets/sets a value indicating whether the command is currently enabled. This may differ from the state-specific value of the CanExecute method.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DescriptionAttribute("Gets/sets a value indicating whether the command is currently enabled. This may differ from the state-specific value of the CanExecute method.")>
    Public Property Enabled As System.Boolean
    'Usage
     
    
    Dim instance As NCommand
    Dim value As System.Boolean
     
    instance.Enabled = value
     
    value = instance.Enabled
    [System.ComponentModel.Description("Gets/sets a value indicating whether the command is currently enabled. This may differ from the state-specific value of the CanExecute method.")]
    public System.bool Enabled {get; set;}
    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