Evaluates the pressed state of the command in its specified context.
Syntax
Visual Basic (Declaration) |
|
Public Overloads Function IsToggled( _
ByVal context As Object _
) As Boolean |
Visual Basic (Usage) |
Copy Code |
Dim instance As Command
Dim context As Object
Dim value As Boolean
value = instance.IsToggled(context)
|
Parameters
- context
- Object context to check pressed state against it
Return Value
True if command is enabled in this context.
Requirements
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
See Also