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