Gets or sets a value that indicates whether this
MenuItem is enabled.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Property Enabled As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As MenuItem
Dim value As Boolean
instance.Enabled = value
value = instance.Enabled |
C# | |
---|
public virtual bool Enabled {get; set;} |
Property Value
true
if enabled; otherwise,
false
.
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also