CommentLayoutElement
Class
Stores the measured size and vertical placement used to arrange a comment balloon.
Definition
Namespace:Telerik.WinForms.Documents.UI.Annotations
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class CommentLayoutElement
Inheritance: objectCommentLayoutElement
Constructors
Properties
Gets the cached balloon size, including the editor margins.
C#
public SizeF DesiredSize { get; }
Methods
Measures the comment body within the available width and caches the resulting balloon size. Subsequent calls return the cached size, even when a different available size is supplied.
Replaces the height in the cached desired size without remeasuring the comment body.