Skip to main content
A newer version of this page is available. .

RichEditCustomMarkDrawEventArgs.VisualInfoCollection Property

Provides access to information required to visualize custom marks.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v20.2.dll

NuGet Package: DevExpress.Win.RichEdit

Declaration

public CustomMarkVisualInfoCollection VisualInfoCollection { get; }

Property Value

Type Description
DevExpress.XtraRichEdit.Layout.Export.CustomMarkVisualInfoCollection

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

Remarks

The UserData property of the CustomMarkVisualInfo object, contained in the collection, provides custom data that may be used to visualize custom marks. These data are attached when the custom mark is created.

To create a custom mark in the document, use the CustomMarkCollection.Create method.

To obtain a corresponding CustomMark object by its visual info, use the ReadOnlyCustomMarkCollection.GetByVisualInfo method.

The following code snippets (auto-collected from DevExpress Examples) contain references to the VisualInfoCollection 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