Class Inline
Class representing an inline document element.
Inherited Members
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Documents.dll
Syntax
public abstract class Inline : DocumentElement
Constructors
Inline()
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
FieldRangeStartBase
The field start. |
IsCopyable
Gets a value indicating whether this instance is copyable.
Declaration
public virtual bool IsCopyable { get; }
Property Value
System.Boolean
|
Methods
CopyContentFrom(DocumentElement)
Copies the content from another Inline.
Declaration
public void CopyContentFrom(DocumentElement fromElement)
Parameters
DocumentElement
fromElement
The Inline to copy the content from. |
Exceptions
System.NullReferenceException
fromElement must not be null. |
System.InvalidOperationException
Cannot copy content to element itself. |
CopyContentFromOverride(DocumentElement)
Copies the content from another Inline.
Declaration
protected abstract void CopyContentFromOverride(DocumentElement fromElement)
Parameters
DocumentElement
fromElement
The Inline to copy the content from. |
Exceptions
System.NullReferenceException
fromElement must not be null. |
System.InvalidOperationException
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
DocumentPosition
startPosition
The start position. |
DocumentPosition
endPosition
The end position. |
Returns
Inline
An Inline object representing the copy. |
CopyFromStartOfInlineToEndPosition(DocumentPosition)
Copies from start of inline to end position.
Declaration
public virtual Inline CopyFromStartOfInlineToEndPosition(DocumentPosition endPosition)
Parameters
DocumentPosition
endPosition
The end position. |
Returns
Inline
|
CopyPropertiesFromOverride(DocumentElement)
Copies the properties from another document element to the current instance.
Declaration
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters
DocumentElement
fromElement
The DocumentElement to copy the properties from. |