DesignerDocument.queryCommandEnabled Method
SharePoint Designer Developer Reference |
Returns a Boolean that indicates if the specified command can be executed. Whether or not a command can be executed is based on the current state of the document. For more information on the state of the current document, see the document's ReadyState property.
Syntax
expression.queryCommandEnabled(cmdID)
expression Required. A variable that represents a DesignerDocument object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
cmdID | Required | String | Represents the command identifier. For a list of available commands see the execCommand method. |
Return Value
Boolean
See Also