Inline
Class representing an inline document element.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public abstract class Inline : DocumentElement
Inheritance: objectDocumentElementInline
Derived Classes:
Inherited Members
Constructors
Properties
Gets the field start of the inner-most field range in which this inline is included. Note that the property setter is obsolete and does not do anything.
public FieldRangeStartBase FieldStart { get; set; }
The field start.
Gets a value indicating whether this instance is copyable.
public virtual bool IsCopyable { get; }
true if this instance is copyable; otherwise, false.
Methods
Copies the content from another Inline.
public void CopyContentFrom(DocumentElement fromElement)
The Inline to copy the content from.
Exceptions:fromElement must not be null.
Cannot copy content to element itself.
Copies the content from another Inline.
protected abstract void CopyContentFromOverride(DocumentElement fromElement)
The Inline to copy the content from.
Exceptions:fromElement must not be null.
Cannot copy content to element itself.
Copies content between two positions inside inline.
public virtual Inline CopyFromPositionToEndOfInline(DocumentPosition startPosition, DocumentPosition endPosition)
The start position.
endPositionDocumentPositionThe end position.
Returns:An Inline object representing the copy.
Copies from start of inline to end position.
public virtual Inline CopyFromStartOfInlineToEndPosition(DocumentPosition endPosition)
The end position.
Returns:null when invoked on an Inline object.
Copies the properties from another document element to the current instance.
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
The DocumentElement to copy the properties from.
Overrides: