Parameters
- targetObject
- The object to call.
- execute
- The method on the target object to call.
- canExecute
- The method to call to update the state.
- supportsOnUpdate
- Is the command automatically called for a state update. Default is true.
Target Platforms: Windows 11, Windows 10