Class
CommentBalloon

Represents a comment balloon in the document UI annotations, providing a visual interface for user comments.

Definition

Namespace:Telerik.Windows.Documents.UI.Annotations

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class CommentBalloon : Control

Inheritance: objectCommentBalloon

Constructors

CommentBalloon()

Declaration

cs-api-definition
public CommentBalloon()

CommentBalloon(Comment)

Declaration

cs-api-definition
public CommentBalloon(Comment comment)

Parameters

comment

Comment

Fields

CommentRichTextBoxName

Declaration

cs-api-definition
public const string CommentRichTextBoxName = "CommentRichTextBox"

Field Value

string

IsReadOnlyProperty

Declaration

cs-api-definition
public static readonly DependencyProperty IsReadOnlyProperty

Field Value

DependencyProperty

Properties

Comment

Represents a comment balloon that displays annotations related to a specific content or region within a document.

Declaration

cs-api-definition
public Comment Comment { get; set; }

Property Value

Comment

IsReadOnly

Gets a value indicating whether the comment balloon is read-only.

Declaration

cs-api-definition
public bool IsReadOnly { get; set; }

Property Value

bool

Methods

OnApplyTemplate()

Called when the template is applied. This method is used to initialize the visual elements of the CommentBalloon.

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.