Table of Contents

Class ThreadProxyRenderTimer

Namespace
Avalonia.Rendering
Assembly
Avalonia.Base.dll
[PrivateApi]
public sealed class ThreadProxyRenderTimer : IRenderTimer
Inheritance
ThreadProxyRenderTimer
Implements
Inherited Members

Constructors

ThreadProxyRenderTimer(IRenderTimer, int)

public ThreadProxyRenderTimer(IRenderTimer inner, int maxStackSize = 1048576)

Parameters

inner IRenderTimer
maxStackSize int

Properties

RunsInBackground

Indicates if the timer ticks on a non-UI thread

public bool RunsInBackground { get; }

Property Value

bool

Events

Tick

Raised when the render timer ticks to signal a new frame should be drawn.

public event Action<TimeSpan> Tick

Event Type

Action<TimeSpan>

Remarks

This event can be raised on any thread; it is the responsibility of the subscriber to switch execution to the right thread.