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


In This Topic
    C1Run Class Members
    In This Topic

    The following tables list the members exposed by C1Run.

    Public Constructors
     NameDescription
    Public Constructor  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the System.Windows.Media.Brush used to fill the background of the content area. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the System.Windows.Media.Brush used to fill the border of a text element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the border thickness of a text element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGet all children of this C1TextElement. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyOverridden. Gets the C1TextPointer at the end of the C1Run's text.  
    Public PropertyGets the C1TextRange of this element's content. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyOverridden. Gets the C1TextPointer at the beginning of the C1Run's text.  
    Public PropertyGets or sets the corner radius for the border of a text element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the C1TextElement.Cursor displayed when the mouse is over this element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyReturns the C1TextElement.EndTag of this C1TextElement. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the preferred font family for the content of the element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the font size for the content of the element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the font style for the content of the element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the font weight for the content of the element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the System.Windows.Media.Brush to apply to the content of the element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the height of this C1TextElement. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets an identifier for this text element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGet the index of this C1TextElement in its parent C1TextElement.Children collection. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyReturns whether this element is collapsed, that is, if its C1TextElement.Visibility, or that of one of its parents, is C1Visibility.Collapsed. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets whether the content of this element are editable in a C1.WPF.RichTextBox.C1RichTextBox. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyReturns whether this element is a leaf in the document tree. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyReturns whether this element is the root of its tree. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets a number that is multiplied by the computed height of a line to obtain the final height. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the margin of a text element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the max-height of this C1TextElement. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the max-width of this C1TextElement. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the min-height of this C1TextElement. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the min-width of this C1TextElement. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the name for this text element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets the next sibling of this element, or null if this is the last child. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the padding of a text element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets the parent of this element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets the previous sibling of this element, or null if this is the first child. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyReturns the root element of this element's tree. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyReturns the C1TextElement.StartTag of this C1TextElement. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyReturns the style values for this C1TextElement. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the unformatted text contents of this text C1Run.  
    Public PropertyGets or sets a collection of text decorations to apply to the content of the element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the System.Windows.Media.Effects.Effect applied to the text of this element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the System.Windows.Controls.ToolTip displayed when the mouse is over this element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets a value indicating how elements are aligned in a line. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the visibility of this element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public PropertyGets or sets the width of this C1TextElement. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Top
    Public Methods
     NameDescription
    Public MethodClears the value of style property in this C1TextElement. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public MethodOverridden.   
    Public MethodCreates a new C1TextElement with the same type as this. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public MethodEnumerates the elements in the document in the specified direction. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public MethodEnumerates all elements in the sub tree where this element is root. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public MethodReturns an enumerator that iterates through the collection. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public MethodReturns the list of parents from the root. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public MethodReturns the value of a style property for this C1TextElement. (Inherited from C1.WPF.RichTextBox.Documents.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. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public MethodInserts text in C1Run.Text's current value.  
    Public MethodChecks whether a type is a valid child of this C1TextElement. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public MethodOverridden.   
    Public MethodOverloaded. Overridden. Removes a range of text from C1Run.Text's current value.  
    Public MethodSets the value of a style property of this C1TextElement. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public MethodReturns a shallow copy of this element. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public MethodOverloaded. Overridden. 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. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Top
    Protected Methods
     NameDescription
    Protected MethodCalled when the C1TextElement.TextChanged event needs to be fired. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Protected MethodCalled when the C1TextElement.TextChanging event needs to be fired. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Top
    Public Events
     NameDescription
    Public EventFires when the children collection of this C1TextElement changes. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public EventFires after a text change occurs in the sub tree where this element is root. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Public EventFires before a text change occurs in the sub tree where this element is root. (Inherited from C1.WPF.RichTextBox.Documents.C1TextElement)
    Top
    See Also