Parameters
- viewerCommand
- The ViewerCommand for which to set the enabled state.
- state
- If
true
, the command is enabled; otherwise, it is disabled.
true
, the command is enabled; otherwise, it is disabled.
true
, the command is enabled; otherwise, it is disabled.Exception | Description |
---|---|
System.ArgumentNullException | Thrown if the toolbar shortcut storage has not been initialized. |