Class
Inline

Class representing an inline document element.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public abstract class Inline : DocumentElement

Inheritance: objectDocumentElementInline

Derived Classes: AnnotationMarkerBaseDrawingInlineInlineUIContainerSpan

Inherited Members DocumentElement.CreateNewElementInstance()DocumentElement.CreateLayoutBox(DocumentStructureCollection)DocumentElement.GetStyleProperty(IStylePropertyDefinition)DocumentElement.GetStyleProperty(string)DocumentElement.EnumerateChildrenOfType<T>()DocumentElement.GetParentOfType<T>()DocumentElement.CreateLayoutBox()DocumentElement.CopyPropertiesFrom(DocumentElement)DocumentElement.CopyPropertiesFromStyle(StyleDefinition)DocumentElement.ExtractStyleFromProperties()DocumentElement.ExtractStyleFromLocalProperties()DocumentElement.InvalidateAssociatedBoxesArrange()DocumentElement.InvalidateAssociatedBoxesMeasure()DocumentElement.InvalidateAssociatedBoxesLayout()DocumentElement.GetAssociatedLayoutBoxes()DocumentElement.GetRootDocument()DocumentElement.CreateDeepCopy()DocumentElement.CreateShallowCopy()DocumentElement.GetPropertyValueSource(IStylePropertyDefinition)DocumentElement.ClearValue(IStylePropertyDefinition)DocumentElement.OnRemoved()DocumentElement.OnStyleChanging()DocumentElement.OnStyleChanged()DocumentElement.OnStylePropertyChanged(StylePropertyChangeEventArgs)DocumentElement.OnParentChanging()DocumentElement.OnParentChanged()DocumentElement.ChildIndexDocumentElement.HasStyleDocumentElement.StyleDocumentElement.StyleNameDocumentElement.TagDocumentElement.FirstLayoutBoxDocumentElement.IsFirstLayoutBoxInitializedDocumentElement.DocumentElementsDocumentElement.ParentDocumentElement.ChildrenDocumentElement.PreviousSiblingDocumentElement.NextSiblingDocumentElement.CursorDocumentElement.StyleChangingDocumentElement.StyleChangedDocumentElement.StylePropertyChangedDocumentElement.ParentChangingDocumentElement.ParentChangedDocumentElement.PropertyValueChanged

Constructors

Inline()

Initializes a new instance of the Inline class.

Declaration

cs-api-definition
public 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

cs-api-definition
public FieldRangeStartBase FieldStart { get; set; }

Property Value

FieldRangeStartBase

The field start.

IsCopyable

Gets a value indicating whether this instance is copyable.

Declaration

cs-api-definition
public virtual bool IsCopyable { get; }

Property Value

bool

true if this instance is copyable; otherwise, false.

Methods

CopyContentFrom(DocumentElement)

Copies the content from another Inline.

Declaration

cs-api-definition
public void CopyContentFrom(DocumentElement fromElement)

Parameters

fromElement

DocumentElement

The Inline to copy the content from.

Exceptions

NullReferenceException

fromElement must not be null.

InvalidOperationException

Cannot copy content to element itself.

CopyContentFromOverride(DocumentElement)

Copies the content from another Inline.

Declaration

cs-api-definition
protected abstract void CopyContentFromOverride(DocumentElement fromElement)

Parameters

fromElement

DocumentElement

The Inline to copy the content from.

Exceptions

NullReferenceException

fromElement must not be null.

InvalidOperationException

Cannot copy content to element itself.

CopyFromPositionToEndOfInline(DocumentPosition, DocumentPosition)

Copies content between two positions inside inline.

Declaration

cs-api-definition
public virtual Inline CopyFromPositionToEndOfInline(DocumentPosition startPosition, DocumentPosition endPosition)

Parameters

startPosition

DocumentPosition

The start position.

endPosition

DocumentPosition

The end position.

Returns

Inline

An Inline object representing the copy.

CopyFromStartOfInlineToEndPosition(DocumentPosition)

Copies from start of inline to end position.

Declaration

cs-api-definition
public virtual Inline CopyFromStartOfInlineToEndPosition(DocumentPosition endPosition)

Parameters

endPosition

DocumentPosition

The end position.

Returns

Inline

null when invoked on an Inline object.

CopyPropertiesFromOverride(DocumentElement)

Copies the properties from another document element to the current instance.

Declaration

cs-api-definition
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)

Parameters

fromElement

DocumentElement

The DocumentElement to copy the properties from.

Overrides DocumentElement.CopyPropertiesFromOverride(DocumentElement)