PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview.Export Namespace / XlsExporter Class / LongOperation Event

In This Topic
    LongOperation Event (XlsExporter)
    In This Topic
    Occurs periodically during export. Allows to show progress and give the end user the ability to cancel the operation.
    Syntax
    'Declaration
     
    Public Event LongOperation As LongOperationEventHandler
    public event LongOperationEventHandler LongOperation
    Event Data

    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.

    PropertyDescription
    Gets the value indicating whether the event handler can cancel the current long operation by setting the Cancel property to true.  
    Gets or sets a value indicating whether the current long operation should be cancelled. (This property is ignored if CanCancel is false.)  
    Gets the approximate completed ratio, from 0 (0% complete) to 1 (100% complete).  
    See Also