ClassInline
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
FieldStart
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.
Declaration
public FieldRangeStartBase FieldStart { get; set; }
Property Value
The field start.
IsCopyable
Gets a value indicating whether this instance is copyable.
Declaration
public virtual bool IsCopyable { get; }
Property Value
true if this instance is copyable; otherwise, false.
Methods
CopyContentFrom(DocumentElement)
Copies the content from another Inline.
Declaration
public void CopyContentFrom(DocumentElement fromElement)
Parameters
fromElement
The Inline to copy the content from.
Exceptions
fromElement must not be null.
Cannot copy content to element itself.
CopyContentFromOverride(DocumentElement)
Copies the content from another Inline.
Declaration
protected abstract void CopyContentFromOverride(DocumentElement fromElement)
Parameters
fromElement
The Inline to copy the content from.
Exceptions
fromElement must not be null.
Cannot copy content to element itself.
CopyFromPositionToEndOfInline(DocumentPosition, DocumentPosition)
Copies content between two positions inside inline.
Declaration
public virtual Inline CopyFromPositionToEndOfInline(DocumentPosition startPosition, DocumentPosition endPosition)
Parameters
startPosition
The start position.
endPosition
The end position.
Returns
An Inline object representing the copy.
CopyFromStartOfInlineToEndPosition(DocumentPosition)
Copies from start of inline to end position.
Declaration
public virtual Inline CopyFromStartOfInlineToEndPosition(DocumentPosition endPosition)
Parameters
endPosition
The end position.
Returns
null when invoked on an Inline object.
CopyPropertiesFromOverride(DocumentElement)
Copies the properties from another document element to the current instance.
Declaration
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters
fromElement
The DocumentElement to copy the properties from.
Overrides