Back to Devexpress

RichEditControl.CommentInserted Event

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-85dd9c5b.md

latest1.9 KB
Original Source

RichEditControl.CommentInserted Event

Occurs after a new comment is created in the document.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.XtraRichEdit.v25.2.dll

NuGet Package : DevExpress.Win.RichEdit

Declaration

csharp
public event CommentEditingEventHandler CommentInserted
vb
Public Event CommentInserted As CommentEditingEventHandler

Event Data

The CommentInserted event's data class is CommentEditingEventArgs. The following properties provide information specific to this event:

PropertyDescription
CommentProvides access to the comment to edit its properties and content.
CommentIndexGets the index of a comment in the CommentCollection collection of comments in a document.

Remarks

Use the CommentEditingEventArgs.Comment property to get access to a newly created comment and modify it.

See Also

Comments in Rich Text Documents

RichEditControl Class

RichEditControl Members

DevExpress.XtraRichEdit Namespace