Evaluates the enabled state of the command in its specified context.
Visual Basic (Declaration) | |
---|---|
Public Overloads Function IsEnabled( _ ByVal context As Object _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- context
- Object context to evaluate enabled state within it.
Object context to evaluate enable state whithin it
Return Value
True if command is enabled in this context, otherwise false.True if command is enabled in this context.
The Command can be enabled in one context and disabled in other.
The context represents the objects for which the Command will change or operate over it.
The Command can be enabled in one context and disabled in other. The context represents the objects which Command will change or operate over it.
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