Skip to main content

CheckAccess Method

Returns a value indicating whether the current thread is the UI thread.

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public bool CheckAccess()

Return Value​

Boolean
true if the current thread is the UI thread; otherwise false.

See Also​

Reference​

AvaloniaObject Class
Avalonia Namespace