Show / Hide Table of Contents

Property SynchronizationContext

| Edit this page View Source

SynchronizationContext

Gets or sets the syncronization context that PropertyChanged should be fired on

Declaration
public SynchronizationContext? SynchronizationContext { get; set; }
Property Value
Type Description
SynchronizationContext
Remarks

The default is the context this thread was created monitor was created on, but for use in UI applications, it can be beneficial to ensure this is the UI Thread. You can also set this to null for best performance

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0main, v3.0, v2.2, v2.1
.NETmain, v3.0
.NET Windowsmain, v3.0
.NET Androidmain, v3.0
.NET iOSmain, v3.0
.NET Frameworkmain, v3.0, v2.2, v2.1
UWPmain, v3.0, v2.2, v2.1
Xamarin.Androidv2.2, v2.1
Xamarin.iOSv2.2, v2.1
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX