C1.C1Preview Namespace > C1MultiDocument Class : LongOperation Event |
'Declaration Public Event LongOperation As LongOperationEventHandler
public event LongOperationEventHandler LongOperation
The event handler receives an argument of type LongOperationEventArgs containing data related to this event. The following LongOperationEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CanCancel | Gets the value indicating whether the event handler can cancel the current long operation by setting the Cancel property to true. |
Cancel | Gets or sets a value indicating whether the current long operation should be cancelled. (This property is ignored if CanCancel is false.) |
Complete | Gets the approximate completed ratio, from 0 (0% complete) to 1 (100% complete). |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2