Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PrintControl.PaintBookmarkArea Event

OBSOLETE

The PaintBookmarkArea event is obsolete now. Use the PaintMarkedBricksArea event instead.

Occurs after a selection border has been drawn around an element in Print Preview.

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v24.2.dll

NuGet Package: DevExpress.Win.Printing

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("The PaintBookmarkArea event is obsolete now. Use the PaintMarkedBricksArea event instead.")]
public event EventHandler<AreaPaintEventArgs> PaintBookmarkArea

#Event Data

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

Property Description
Area Gets the area around the element being painted.
Cache
Graphics Gets the drawing surface of the element being painted.

#Remarks

Use the PaintBookmarkArea event to customize the selection border drawn around an element that has been found using the Search dialog, or around an element selected via a bookmark.

See Also