Evaluates the enabled state of the command using context with string parameters.
Visual Basic (Declaration) | |
---|---|
Public Overloads Function IsEnabled( _ ByVal context As Object, _ ByVal parameters As String _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool IsEnabled( object context, string parameters ) |
Parameters
- context
- Object context to evaluate enable state within it.
Object context to evaluate enable state whithin it - parameters
- Additional parameters used when evaluating the enabled state.
Additional parameters to evaluate enabled state
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