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

RichEditCustomMarkDrawEventArgs(Graphics, CustomMarkVisualInfoCollection) Constructor

Initializes a new instance of the RichEditCustomMarkDrawEventArgs class with the specified settings.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.2.dll

NuGet Package: DevExpress.Win.RichEdit

#Declaration

public RichEditCustomMarkDrawEventArgs(
    Graphics graphics,
    CustomMarkVisualInfoCollection visualInfoCollection
)

#Parameters

Name Type Description
graphics Graphics

A Graphics object that provides GDI+ drawing functionality.

visualInfoCollection DevExpress.XtraRichEdit.Layout.Export.CustomMarkVisualInfoCollection

A DevExpress.XtraRichEdit.Layout.Export.CustomMarkVisualInfoCollection collection containing custom marks visual info.

#Remarks

The RichEditCustomMarkDrawEventArgs is created automatically and passed to the handler of the RichEditControl.CustomMarkDraw event.

See Also