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.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

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