Enabled Property (IContextMenuItem)

Enabled Property (IContextMenuItem) | Send Feedback
See Also

Gets or sets whether to enable this context-sensitive menu item.

# Syntax

Visual Basic |
--- | ---
    Property Enabled As System.Boolean

C# |
--- | ---
    System.bool Enabled {get; set;}

JavaScript |
--- | ---
    get_Enabled () : Boolean
    put_Enabled (
       NewVal : Boolean
    )

COM native C++ |
--- | ---
    HRESULT get_Enabled(
       VARIANT_BOOL* Val
    )
    HRESULT put_Enabled(
       VARIANT_BOOL NewVal

C++ |
--- | ---
    DSRESULT get_Enabled (
       bool* Val
    )
    DSRESULT put_Enabled(
       bool NewVal
    )

#### Property Value

True to enable this context-sensitive menu item, false to not

# See Also

####

IContextMenuItem Interface
IContextMenuItem Members
IContextMenuItem::GetMenuItems Method ()
IContextMenuItem::InsertMenuItem Method ()
IApplication::AddCommandContextMenu Method ()
IApplication::AddDefaultContextMenu Method ()
IApplication::AddObjectContextMenu Method ()
IApplication::GetContextMenuItems Method ()

# Availability

DraftSight V1R5.0