ClassCommentLayoutElement
Class
Represents the layout of a comment in the Telerik UI Annotations system.
Definition
Namespace:Telerik.Windows.Documents.UI.Annotations
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
cs-api-definition
public class CommentLayoutElement
Inheritance: objectCommentLayoutElement
Constructors
CommentLayoutElement(Comment, Thickness)
Declaration
cs-api-definition
public CommentLayoutElement(Comment comment, Thickness margin)
Parameters
comment
margin
Thickness
Properties
DesiredSize
Gets the desired size of the comment layout element.
Methods
Measure(SizeF)
Measures the dimensions of the CommentLayoutElement based on the specified size.
SetHeight(float)
Sets the height of the comment layout element.
Declaration
cs-api-definition
public void SetHeight(float newHeight)
Parameters
newHeight
The height to set, measured in pixels.