Class GlobalProgressActionArgs
Represents arguments for global progress action.
public class GlobalProgressActionArgs : ObservableObject, INotifyPropertyChanged
- Inheritance
-
GlobalProgressActionArgs
- Implements
- Inherited Members
Constructors
GlobalProgressActionArgs(SynchronizationContext, Dispatcher, CancellationToken)
Creates new instance of GlobalProgressActionArgs.
public GlobalProgressActionArgs(SynchronizationContext mainContext, Dispatcher mainDispatcher, CancellationToken cancelToken)
Parameters
mainContext
SynchronizationContextmainDispatcher
DispatchercancelToken
CancellationToken
Properties
CancelToken
Gets cancelation token source.
public CancellationToken CancelToken { get; }
Property Value
CurrentProgressValue
Gets or sets currect value represented on progress track.
public double CurrentProgressValue { get; set; }
Property Value
IsIndeterminate
Gets or sets progress text.
public bool IsIndeterminate { get; set; }
Property Value
MainContext
Gets synchronization context of main thread.
public SynchronizationContext MainContext { get; }
Property Value
MainDispatcher
Gets dispatcher for main UI thread.
public Dispatcher MainDispatcher { get; }
Property Value
ProgressMaxValue
Gets or sets maximum value represented on progress track.
public double ProgressMaxValue { get; set; }
Property Value
Text
Gets or sets progress text.
public string Text { get; set; }