Skip to main content
.NET Framework 4.5.2+

CommentEditingEventArgs.CommentIndex Property

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

Namespace: DevExpress.XtraRichEdit

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


public int CommentIndex { get; }

Property Value

Type Description

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


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