Evaluates the pressed state of the command using context and string parameters.
Visual Basic (Declaration) | |
---|---|
Public Overloads Function IsToggled( _ ByVal context As Object, _ ByVal parameters As String _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool IsToggled( object context, string parameters ) |
Parameters
- context
- Object context to check pressed state against.
Object context to check pressed state against it - parameters
- Additional parameters used to evaluate pressed state.
Additional parameters to evaluate pressed state
Return Value
True if command is enabled in this context, otherwise false.True if command is enabled in this context.
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