AvaloniaObjectCheckAccess Method
Returns a value indicating whether the current thread is the UI thread.
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public bool CheckAccess()
Public Function CheckAccess As Boolean
member CheckAccess : unit -> bool
Return Value
Booleantrue if the current thread is the UI thread; otherwise false.