Back to Devexpress

RichEditControl.BeforePagePaint Event

wpf-devexpress-dot-xpf-dot-richedit-dot-richeditcontrol-38edec23.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
public event BeforePagePaintEventHandler BeforePagePaint
vb
Public Event BeforePagePaint As BeforePagePaintEventHandler

Event Data

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

PropertyDescription
CanvasProvides access to layout drawing surface.
CanvasOwnerTypeDetermines the type of device to which the document layout is rendered.
PageProvides access to the current page being rendered.
PainterGets or sets the painter object which implements methods for drawing layout elements.

See Also

RichEditControl Class

RichEditControl Members

DevExpress.Xpf.RichEdit Namespace