Gets or sets the enabled flag for the command, which determines if the command can be executed.Gets or sets the enabled flag for the command. Determines if the command can be executed.
| Visual Basic (Declaration) | |
|---|---|
Public Property Enabled As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public bool Enabled {get; set;} | |
Return Value
True if the command can be executed, false otherwise. Defaults to true.True if command can be executed, false otherwise. Defaults is true.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family