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)
Initializes a new instance of the RenderEventRef struct with the given invalidation region and frame timing data.
public RenderEventRef(Rect rect, FrameEventRef frame)
Parameters
rect
RectThe region to be rendered.
frame
FrameEventRefThe timing information for this frame.
Fields
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