Progress.Item.RegisterCancelCallback

Switch to Manual
public void RegisterCancelCallback (Func<bool> callback);

Parameters

callbackThe function called when a progress indicator's associated task is canceled.

Description

Registers a callback that is called when the user cancels a running progress indicator's associated task.