[]
Base class of all classes responsible for text layout and painting.
public abstract class C1TextElementView
<xref href="C1.WPF.RichTextBox.C1TextElementView" data-throw-if-not-resolved="false"></xref> are arranged in a tree similar to <xref href="C1.WPF.RichTextBox.Documents.C1TextElement" data-throw-if-not-resolved="false"></xref>. When displaying a document,
C1RichTextViewManager constructs one, or more, C1TextElementView for each C1TextElement. The resulting C1TextElementView tree is responsible for doing the document layout, and painting it. The current document layout can be queried from C1RichTextViewManager and its views.
Name | Description |
---|---|
C1TextElementView(C1RichTextViewManager, C1TextElement) | Constructs a new C1TextElementView. |
Name | Description |
---|---|
Children | Gets the collection of children for this view. |
Content | Gets the innermost view that is associated with the same C1TextElement as this view. |
DesiredSize | Gets the resulting size of the last measure of this view. |
Element | Gets the C1TextElement associated with this C1TextElementView. |
Origin | Gets the origin of this view. |
Parent | Gets the parent of this C1TextElementView, or null if this is the root of the tree. |
RelativeOrigin | Gets the origin of this view relative to its parent. |
ViewManager | Gets the C1RichTextViewManager associated with this C1TextElementView. |