Skip to main content

BeforePagePaintEventArgs.Painter Property

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

public PagePainter Painter { get; set; }

Property Value

Type Description
PagePainter

A PagePainter class or its descendant.

Remarks

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Painter property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also