Property SynchronizationContext
| Edit this page View SourceSynchronizationContext
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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | main, v3.0, v2.2, v2.1 |
| .NET | main, v3.0 |
| .NET Windows | main, v3.0 |
| .NET Android | main, v3.0 |
| .NET iOS | main, v3.0 |
| .NET Framework | main, v3.0, v2.2, v2.1 |
| UWP | main, v3.0, v2.2, v2.1 |
| Xamarin.Android | v2.2, v2.1 |
| Xamarin.iOS | v2.2, v2.1 |