Struct RenderEventRef
Represents a platform-level render event dispatched after a timing frame, indicating that views should perform layout and rendering operations within a given region.
public ref struct RenderEventRef
- Inherited Members
Remarks
This event follows a FrameEventRef and marks the phase during which
views are expected to perform their Measure, Arrange, and Render passes.
It is emitted by the Actual window and forwarded to the Abstract layer.
Constructors
RenderEventRef(Rect, FrameEventRef, IContext)
Initializes a new instance of the RenderEventRef struct with the given invalidation region and frame timing data.
public RenderEventRef(Rect rect, FrameEventRef frame, IContext context)
Parameters
rectRectThe region to be rendered.
frameFrameEventRefThe timing information for this frame.
contextIContextThe drawing context for this render pass.
Fields
Context
The frame-bound drawing context for this render pass. It must not be retained after the event returns to the render surface.
public IContext Context
Field Value
Frame
Timing information associated with this frame, typically used for animations.
public FrameEventRef Frame
Field Value
Rect
The region of the screen or surface that should be re-rendered.
public Rect Rect