New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class CommentBalloon : Control

Inheritance: objectCommentBalloon

Constructors

C#
public CommentBalloon()
C#
public CommentBalloon(Comment comment)
Parameters:commentComment

Fields

C#
public const string CommentRichTextBoxName = "CommentRichTextBox"

IsReadOnlyProperty

DependencyProperty

C#
public static readonly DependencyProperty IsReadOnlyProperty

Properties

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

C#
public Comment Comment { get; set; }

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

C#
public bool IsReadOnly { get; set; }

Methods

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

C#
public override void OnApplyTemplate()

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.