Gets/sets synchronization mode for the object.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Overridable Property SynchronizationMode As SynchronizationMode
public virtual SynchronizationMode SynchronizationMode { get; set; }
Currently Graphics Mill for .NET provides the following synchronization options:
Mode | Description |
---|---|
Synchronous mode | Operation (and its event handlers) is running in the application main thread. |
Common asynchronous mode | Operation and its event handlers are running in the auxilary thread. |
Asynchronous mode that uses main thread message loop | Operation is running in the auxilary thread, but its event handlers are running in the application main thread. |
Default value is Sync.
To use AsyncViaMessageLoop mode, application message loop must be running. In particular it means that you cannot set AsyncViaMessageLoop value into this property at application initialization event (such as form load, etc).