New to Telerik UI for WPFStart a free 30-day trial

Inline

Class

Class representing an inline document element.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
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

Initializes a new instance of the Inline class.

C#
public Inline()

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.

C#
public FieldRangeStartBase FieldStart { get; set; }
Property Value:

The field start.

Gets a value indicating whether this instance is copyable.

C#
public virtual bool IsCopyable { get; }
Property Value:

true if this instance is copyable; otherwise, false.

Methods

Copies the content from another Inline.

C#
public void CopyContentFrom(DocumentElement fromElement)
Parameters:fromElementDocumentElement

The Inline to copy the content from.

Exceptions:

NullReferenceException

fromElement must not be null.

InvalidOperationException

Cannot copy content to element itself.

Copies the content from another Inline.

C#
protected abstract void CopyContentFromOverride(DocumentElement fromElement)
Parameters:fromElementDocumentElement

The Inline to copy the content from.

Exceptions:

NullReferenceException

fromElement must not be null.

InvalidOperationException

Cannot copy content to element itself.

Copies content between two positions inside inline.

C#
public virtual Inline CopyFromPositionToEndOfInline(DocumentPosition startPosition, DocumentPosition endPosition)
Parameters:startPositionDocumentPosition

The start position.

endPositionDocumentPosition

The end position.

Returns:

Inline

An Inline object representing the copy.

Copies from start of inline to end position.

C#
public virtual Inline CopyFromStartOfInlineToEndPosition(DocumentPosition endPosition)
Parameters:endPositionDocumentPosition

The end position.

Returns:

Inline

null when invoked on an Inline object.

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

C#
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters:fromElementDocumentElement

The DocumentElement to copy the properties from.

Overrides: DocumentElement.CopyPropertiesFromOverride(DocumentElement)