Skip to main content

CommentEditingEventArgs.CommentIndex Property

Gets the index of a comment in the CommentCollection collection of comments in a document.

Namespace: DevExpress.XtraRichEdit

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public int CommentIndex { get; }

Property Value

Type Description
Int32

An integer that is the index in the SubDocument.Comments collection.

Remarks

Items in the CommentCollection are ordered and indexed in the same order as the ranges to which they belong. That is, a comment whose Comment.Range is closer to the beginning of the document has a lower index value.

See Also