RichEditDocumentServer.CommentInserted Event
In This Article
Occurs after a new comment is created in the document.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
#Declaration
public event CommentEditingEventHandler CommentInserted
#Event Data
The CommentInserted event's data class is CommentEditingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Comment | Provides access to the comment to edit its properties and content. |
Comment |
Gets the index of a comment in the Comment |
#Remarks
The CommentInserted event allows you to obtain a newly created comment and modify its properties and content.
To change the content of a comment, obtain its SubDocument using the Comment.BeginUpdate method, apply required changes and finalize the modification by calling the Comment.EndUpdate method.
See Also