Special Considerations for Custom Cancel in Silverlight Forms
The ability to cancel a form is determined during the design of the workflow containing the form.
Unlike the Task List Cancel button, there is no mechanism in place to disable a custom cancel button when the form is configured to disallow canceling.
If you click a custom cancel button on a form where canceling is not permitted, the cancel operation fails with an exception that is noted in the feedback zone.