.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

BeforePagePaintEventArgs.Painter Property

Gets or sets the painter object which implements methods for drawing layout elements.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v21.1.Core.dll


public PagePainter Painter { get; set; }

Property Value

Type Description

A PagePainter class or its descendant.


To implement custom drawing for layout elements, subclass the PagePainter type to override methods required to draw particular layout elements and use the Painter property to specify an instance of your class instead of the default painter.

See Also