Constructor DrawEventArgs
DrawEventArgs(Rectangle, Rectangle, DrawContext?)
Creates a new instance of the DrawEventArgs class.
public DrawEventArgs(Rectangle newViewport, Rectangle oldViewport, DrawContext? drawContext)
Parameters
newViewportRectangleThe Content-relative rectangle describing the new visible viewport into the View.
oldViewportRectangleThe Content-relative rectangle describing the old visible viewport into the View.
drawContextDrawContextAdd any regions that have been drawn to during Draw(DrawContext?) operations to this context. This is primarily in support of Transparent.