UiThreadRenderTimer Class

Render timer that ticks on UI thread. Useful for debugging or bootstrapping on new platforms

Definition

Namespace: Avalonia.Rendering
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[PrivateApiAttribute]
public class UiThreadRenderTimer : DefaultRenderTimer
Inheritance
Object    DefaultRenderTimer    UiThreadRenderTimer

Properties

FramesPerSecond Gets the number of frames per second at which the loop runs.
(Inherited from DefaultRenderTimer)
RunsInBackground Indicates if the timer ticks on a non-UI thread
(Overrides DefaultRenderTimerRunsInBackground)

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Start Starts the timer.
(Inherited from DefaultRenderTimer)
StartCore(ActionTimeSpan) Provides the implementation of starting the timer.
(Overrides DefaultRenderTimerStartCore(ActionTimeSpan))
Stop Stops the timer.
(Inherited from DefaultRenderTimer)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

Tick Raised when the render timer ticks to signal a new frame should be drawn.
(Inherited from DefaultRenderTimer)

See Also