ClassComment
Class
Represents a comment in the document model, providing a way to add notes or annotations to specific parts of the content.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
cs-api-definition
public class Comment : ChildDocumentContainer
Inheritance: objectChildDocumentContainerComment
Inherited Members
Constructors
Properties
Author
Gets or sets the author of the comment.
Declaration
cs-api-definition
[XamlSerializable("")]
public string Author { get; set; }
Property Value
The name of the author associated with the comment.
Body
Gets the body of the child document container.
Declaration
cs-api-definition
[XamlSerializable]
public override RadDocument Body { get; set; }
Property Value
Overrides
Remarks
The body contains the main content of the document, including paragraphs, tables, images, and other elements.
Methods
CreateDeepCopy()
Creates a deep copy of the current Comment instance.
Declaration
cs-api-definition
public Comment CreateDeepCopy()
Returns
A new Comment instance that is a deep copy of the current instance.