.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

CommentEditingEventArgs.CommentIndex Property

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

Namespace: DevExpress.XtraRichEdit

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

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