Back to Devexpress

AnnotationOptions.Author Property

officefileapi-devexpress-dot-xtrarichedit-dot-annotationoptions-ad337138.md

latest2.8 KB
Original Source

AnnotationOptions.Author Property

Specifies the annotations’ author.

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[DefaultValue("")]
public string Author { get; set; }
vb
<DefaultValue("")>
Public Property Author As String

Property Value

TypeDefaultDescription
StringString.Empty

A string value that is the annotation’s author

|

Property Paths

You can access this nested property as listed below:

Object TypePath to Author
RichEditControlOptionsBase

.Annotations .Author

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Author 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.

winforms-rich-edit-manage-tracked-changes/CS/XtraRichEdit_TrackChanges/Form1.cs#L75

csharp
richEditControl1.Options.Annotations.Author = "Anne Dodsworth";

winforms-rich-edit-manage-tracked-changes/VB/XtraRichEdit_TrackChanges/Form1.vb#L61

vb
trackChangesOptions.InsertionColor = RevisionColor.DarkRed
richEditControl1.Options.Annotations.Author = "Anne Dodsworth"
'Disable showing revisions from all authors

See Also

AnnotationOptions Class

AnnotationOptions Members

DevExpress.XtraRichEdit Namespace