Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NTool Class / Enabled Property


In This Topic
    Enabled Property (NTool)
    In This Topic
    Gets/sets whether the tool is enabled
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Behavior")>
    <System.ComponentModel.DescriptionAttribute("Gets/sets whether the tool is enabled")>
    <System.ComponentModel.DefaultValueAttribute(False)>
    Public Overridable Property Enabled As System.Boolean
    'Usage
     
    
    Dim instance As NTool
    Dim value As System.Boolean
     
    instance.Enabled = value
     
    value = instance.Enabled
    [System.ComponentModel.Category("Behavior")]
    [System.ComponentModel.Description("Gets/sets whether the tool is enabled")]
    [System.ComponentModel.DefaultValue(false)]
    public virtual System.bool Enabled {get; set;}
    Remarks
    When the tool is enabled it will receive user events from the controller. When the tool is disabled the controller will not delegate any events to the tool and the tool can not be activated.
    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