A newer version of this page is available. Switch to the current version.

RichEditControl.BeforePagePaint Event

Enables you to specify a custom PagePainter descendant to alter the way the layout elements are drawn.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v20.2.dll


public event BeforePagePaintEventHandler BeforePagePaint

Event Data

The BeforePagePaint event's data class is BeforePagePaintEventArgs. The following properties provide information specific to this event:

Property Description
Canvas Provides access to layout drawing surface.
CanvasOwnerType Determines the type of device to which the document layout is rendered.
Page Provides access to the current page being rendered.
Painter Gets or sets the painter object which implements methods for drawing layout elements.
See Also