The C1Document type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
C1Document |
Initializes a new C1Document.
|
Methods
Name | Description | |
---|---|---|
![]() |
ClearValue |
Clears the value of style property in this C1TextElement.
(Inherited from C1TextElement.) |
![]() |
Clone |
Returns a deep copy of this element.
(Inherited from C1TextElement.) |
![]() |
CreateNewElement |
Creates a new C1TextElement with the same type as this.
(Inherited from C1TextElement.) |
![]() |
Enumerate |
Enumerates the elements in the document in the specified direction.
(Inherited from C1TextElement.) |
![]() |
EnumerateSubtree |
Enumerates all elements in the sub tree where this element is root.
(Inherited from C1TextElement.) |
![]() |
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetEnumerator |
Returns an enumerator that iterates through the collection.
(Inherited from C1TextElement.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetParents |
Returns the list of parents from the root.
(Inherited from C1TextElement.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
GetValue<(Of <<'(T>)>>) |
Returns the value of a style property for this C1TextElement.
(Inherited from C1TextElement.) |
![]() |
Group |
Groups some of this C1TextElement children,
all children in the specified range are added to the new parent,
and the parent is inserted at the range start.
(Inherited from C1TextElement.) |
![]() |
IsValidChild | (Overrides C1TextElement..::..IsValidChild(Type).) |
![]() |
JoinSibling |
Joins this element with its next sibling.
(Inherited from C1TextElement.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnTextChanged |
Called when the TextChanged event needs to be fired.
(Inherited from C1TextElement.) |
![]() |
OnTextChanging |
Called when the TextChanging event needs to be fired.
(Inherited from C1TextElement.) |
![]() |
Remove()()()() |
Removes the element from the document tree.
(Inherited from C1TextElement.) |
![]() |
Remove(Int32, Int32) |
Removes a range of children in this element.
(Inherited from C1TextElement.) |
![]() |
SetValue<(Of <<'(T>)>>) |
Sets the value of a style property of this C1TextElement.
(Inherited from C1TextElement.) |
![]() |
ShallowClone |
Returns a shallow copy of this element.
(Inherited from C1TextElement.) |
![]() |
Split(Int32) |
Splits this C1TextElement at the specified offset into two elements of the same type with the same style properties.
(Inherited from C1TextElement.) |
![]() |
Split(Int32, Boolean) |
Splits this C1TextElement at the specified offset into two elements of the same type with the same style properties.
(Inherited from C1TextElement.) |
![]() |
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
![]() |
UnGroup |
Ungroups this C1TextElement, that is, this C1TextElement is removed, and all its children are added to its parent.
(Inherited from C1TextElement.) |
Properties
Name | Description | |
---|---|---|
![]() |
Background |
Gets or sets the Brush used to fill the background of the content area.
(Inherited from C1TextElement.) |
![]() |
Blocks |
Gets the collection of C1Block elements in the C1Document.
|
![]() |
BorderBrush |
Gets or sets the Brush used to fill the border of a text element.
(Inherited from C1TextElement.) |
![]() |
BorderThickness |
Gets or sets the border thickness of a text element.
(Inherited from C1TextElement.) |
![]() |
Children |
Get all children of this C1TextElement.
(Inherited from C1TextElement.) |
![]() |
ContentEnd |
Gets the C1TextPointer at the end of this text element.
(Inherited from C1TextElement.) |
![]() |
ContentRange |
Gets the C1TextRange of this element's content.
(Inherited from C1TextElement.) |
![]() |
ContentStart |
Gets the C1TextPointer at the start of this text element.
(Inherited from C1TextElement.) |
![]() |
CornerRadius |
Gets or sets the corner radius for the border of a text element.
(Inherited from C1TextElement.) |
![]() |
Cursor |
Gets or sets the Cursor displayed when the mouse is over this element.
(Inherited from C1TextElement.) |
![]() |
EndTag |
Returns the EndTag of this C1TextElement.
(Inherited from C1TextElement.) |
![]() |
FontFamily |
Gets or sets the preferred font family for the content of the element.
(Inherited from C1TextElement.) |
![]() |
FontSize |
Gets or sets the font size for the content of the element.
(Inherited from C1TextElement.) |
![]() |
FontStyle |
Gets or sets the font style for the content of the element.
(Inherited from C1TextElement.) |
![]() |
FontWeight |
Gets or sets the font weight for the content of the element.
(Inherited from C1TextElement.) |
![]() |
Foreground |
Gets or sets the Brush to apply to the content of the element.
(Inherited from C1TextElement.) |
![]() |
FragmentRange |
Gets or sets the a fragment C1TextRange inside this C1Document.
|
![]() |
Height |
Gets or sets the height of this C1TextElement.
(Inherited from C1TextElement.) |
![]() |
Id |
Gets or sets an identifier for this text element.
(Inherited from C1TextElement.) |
![]() |
Index |
Get the index of this C1TextElement in its parent Children collection.
(Inherited from C1TextElement.) |
![]() |
IsCollapsed |
Returns whether this element is collapsed, that is, if its Visibility, or that of one of its parents, is Collapsed.
(Inherited from C1TextElement.) |
![]() |
IsEditable |
Gets or sets whether the content of this element are editable in a C1RichTextBox.
(Inherited from C1TextElement.) |
![]() |
IsLeaf |
Returns whether this element is a leaf in the document tree.
(Inherited from C1TextElement.) |
![]() |
IsRoot |
Returns whether this element is the root of its tree.
(Inherited from C1TextElement.) |
![]() |
LineHeight |
Gets or sets a number that is multiplied by the computed height of a line to obtain the final height.
(Inherited from C1TextElement.) |
![]() |
Margin |
Gets or sets the margin of a text element.
(Inherited from C1TextElement.) |
![]() |
MaxHeight |
Gets or sets the max-height of this C1TextElement.
(Inherited from C1TextElement.) |
![]() |
MaxWidth |
Gets or sets the max-width of this C1TextElement.
(Inherited from C1TextElement.) |
![]() |
MinHeight |
Gets or sets the min-height of this C1TextElement.
(Inherited from C1TextElement.) |
![]() |
MinWidth |
Gets or sets the min-width of this C1TextElement.
(Inherited from C1TextElement.) |
![]() |
NextSibling |
Gets the next sibling of this element, or null if this is the last child.
(Inherited from C1TextElement.) |
![]() |
Padding |
Gets or sets the padding of a text element.
(Inherited from C1TextElement.) |
![]() |
Parent |
Gets the parent of this element.
(Inherited from C1TextElement.) |
![]() |
PreviousSibling |
Gets the previous sibling of this element, or null if this is the first child.
(Inherited from C1TextElement.) |
![]() |
Root |
Returns the root element of this element's tree.
(Inherited from C1TextElement.) |
![]() |
StartTag |
Returns the StartTag of this C1TextElement.
(Inherited from C1TextElement.) |
![]() |
Style |
Returns the style values for this C1TextElement.
(Inherited from C1TextElement.) |
![]() |
TextDecorations |
Gets or sets a collection of text decorations to apply to the content of the element.
(Inherited from C1TextElement.) |
![]() |
ToolTip |
Gets or sets the ToolTip displayed when the mouse is over this element.
(Inherited from C1TextElement.) |
![]() |
VerticalAlignment |
Gets or sets a value indicating how elements are aligned in a line.
(Inherited from C1TextElement.) |
![]() |
Visibility |
Gets or sets the visibility of this element.
(Inherited from C1TextElement.) |
![]() |
Width |
Gets or sets the width of this C1TextElement.
(Inherited from C1TextElement.) |
Events
Name | Description | |
---|---|---|
![]() |
ChildrenChanged |
Fires when the children collection of this C1TextElement changes.
(Inherited from C1TextElement.) |
![]() |
TextChanged |
Fires after a text change occurs in the sub tree where this element is root.
(Inherited from C1TextElement.) |
![]() |
TextChanging |
Fires before a text change occurs in the sub tree where this element is root.
(Inherited from C1TextElement.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
IEnumerable<(Of <<'(C1TextElement>)>>)..::..GetEnumerator | (Inherited from C1TextElement.) |