Table of Contents

Interface IUISynchronizationContext

Namespace
PaintDotNet.AppModel
Assembly
PaintDotNet.Core.dll
public interface IUISynchronizationContext : IInternalImpl

Properties

IsOnUIThread

Gets a flag indicating whether the current thread is the main UI thread.

Methods

Post(SendOrPostCallback, object?)

Posts a callback to be executed on the UI thread. This method returns immediately without waiting for the callback to complete.

Send(SendOrPostCallback, object?)

Sends a callback to be executed on the UI thread. This method does not return until the callback completes.