RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / C1TextElement Class
Fields Properties Methods Events


In This Topic
    C1TextElement Class Members
    In This Topic

    The following tables list the members exposed by C1TextElement.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new C1TextElement  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Identifies the Background style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the BorderBrush style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the BorderThickness style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the CornerRadius style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Cursor style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the FontFamily style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the FontSize style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the FontStyle style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the FontWeight style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Foreground style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Height style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsEditable style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the LineHeight style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Margin style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the MaxHeight style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the MaxWidth style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the MinHeight style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the MinWidth style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Padding style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the TextDecorations style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the TextEffect style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ToolTip style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the VerticalAlignment style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Visibility style property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Width style property.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the System.Windows.Media.Brush used to fill the background of the content area.  
    Public PropertyGets or sets the System.Windows.Media.Brush used to fill the border of a text element.  
    Public PropertyGets or sets the border thickness of a text element.  
    Public PropertyGet all children of this C1TextElement.  
    Public PropertyGets the C1TextPointer at the end of this text element.  
    Public PropertyGets the C1TextRange of this element's content.  
    Public PropertyGets the C1TextPointer at the start of this text element.  
    Public PropertyGets or sets the corner radius for the border of a text element.  
    Public PropertyGets or sets the Cursor displayed when the mouse is over this element.  
    Public PropertyReturns the EndTag of this C1TextElement.  
    Public PropertyGets or sets the preferred font family for the content of the element.  
    Public PropertyGets or sets the font size for the content of the element.  
    Public PropertyGets or sets the font style for the content of the element.  
    Public PropertyGets or sets the font weight for the content of the element.  
    Public PropertyGets or sets the System.Windows.Media.Brush to apply to the content of the element.  
    Public PropertyGets or sets the height of this C1TextElement.  
    Public PropertyGets or sets an identifier for this text element.  
    Public PropertyGet the index of this C1TextElement in its parent Children collection.  
    Public PropertyReturns whether this element is collapsed, that is, if its Visibility, or that of one of its parents, is C1Visibility.Collapsed.  
    Public PropertyGets or sets whether the content of this element are editable in a C1.WPF.RichTextBox.C1RichTextBox.  
    Public PropertyReturns whether this element is a leaf in the document tree.  
    Public PropertyReturns whether this element is the root of its tree.  
    Public PropertyGets or sets a number that is multiplied by the computed height of a line to obtain the final height.  
    Public PropertyGets or sets the margin of a text element.  
    Public PropertyGets or sets the max-height of this C1TextElement.  
    Public PropertyGets or sets the max-width of this C1TextElement.  
    Public PropertyGets or sets the min-height of this C1TextElement.  
    Public PropertyGets or sets the min-width of this C1TextElement.  
    Public PropertyGets or sets the name for this text element.  
    Public PropertyGets the next sibling of this element, or null if this is the last child.  
    Public PropertyGets or sets the padding of a text element.  
    Public PropertyGets the parent of this element.  
    Public PropertyGets the previous sibling of this element, or null if this is the first child.  
    Public PropertyReturns the root element of this element's tree.  
    Public PropertyReturns the StartTag of this C1TextElement.  
    Public PropertyReturns the style values for this C1TextElement.  
    Public PropertyGets or sets a collection of text decorations to apply to the content of the element.  
    Public PropertyGets or sets the System.Windows.Media.Effects.Effect applied to the text of this element.  
    Public PropertyGets or sets the System.Windows.Controls.ToolTip displayed when the mouse is over this element.  
    Public PropertyGets or sets a value indicating how elements are aligned in a line.  
    Public PropertyGets or sets the visibility of this element.  
    Public PropertyGets or sets the width of this C1TextElement.  
    Top
    Public Methods
     NameDescription
    Public MethodClears the value of style property in this C1TextElement.  
    Public MethodReturns a deep copy of this element.  
    Public MethodCreates a new C1TextElement with the same type as this.  
    Public MethodEnumerates the elements in the document in the specified direction.  
    Public MethodEnumerates all elements in the sub tree where this element is root.  
    Public MethodReturns an enumerator that iterates through the collection.  
    Public MethodReturns the list of parents from the root.  
    Public MethodReturns the value of a style property for this C1TextElement.  
    Public MethodGroups 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.  
    Public MethodChecks whether a type is a valid child of this C1TextElement.  
    Public MethodJoins this element with its next sibling.  
    Public MethodOverloaded. Removes a range of children in this element.  
    Public MethodSets the value of a style property of this C1TextElement.  
    Public MethodReturns a shallow copy of this element.  
    Public MethodOverloaded. Splits this C1TextElement at the specified offset into two elements of the same type with the same style properties.  
    Public MethodUngroups this C1TextElement, that is, this C1TextElement is removed, and all its children are added to its parent.  
    Top
    Protected Methods
     NameDescription
    Protected MethodCalled when the TextChanged event needs to be fired.  
    Protected MethodCalled when the TextChanging event needs to be fired.  
    Top
    Public Events
     NameDescription
    Public EventFires when the children collection of this C1TextElement changes.  
    Public EventFires after a text change occurs in the sub tree where this element is root.  
    Public EventFires before a text change occurs in the sub tree where this element is root.  
    Top
    See Also