• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class OperationProgressEventArgs

Provides data for the ProgressChanged event.

Inheritance
object
EventArgs
OperationProgressEventArgs
Inherited Members
EventArgs.Empty
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class OperationProgressEventArgs : EventArgs

Constructors

OperationProgressEventArgs(int, int, string)

Initializes a new instance of the OperationProgressEventArgs class.

Declaration
public OperationProgressEventArgs(int current, int total, string message)
Parameters
Type Name Description
int current

The current progress value.

int total

The total progress value.

string message

The progress message.

Properties

Current

The current progress value (0 to Total).

Declaration
public int Current { get; }
Property Value
Type Description
int

Message

A human-readable progress message, or null.

Declaration
public string Message { get; }
Property Value
Type Description
string

Percentage

Progress as a percentage (0–100), or 0 when total is 0.

Declaration
public double Percentage { get; }
Property Value
Type Description
double

Total

The total work to complete, or 0 when unknown.

Declaration
public int Total { get; }
Property Value
Type Description
int
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX