Class
SdtRangeEnd

Represents the end of a structured document tag annotation.

Definition

Namespace:Telerik.Windows.Documents.Model.StructuredDocumentTags

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class SdtRangeEnd : AnnotationRangeEnd

Inheritance: objectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeEndSdtRangeEnd

Inherited Members AnnotationRangeEnd.UpdateAnnotationID()AnnotationRangeEnd.CreatePairedStart()AnnotationRangeEnd.PairWithStart(AnnotationRangeStart)AnnotationRangeEnd.PairWithStartOverride(AnnotationRangeStart)AnnotationRangeEnd.StartAnnotationRangeEnd.IsPairedAnnotationRangeEnd.CreatePairedStartOnCopyAnnotationMarkerBase.AnnotationIDAnnotationMarkerBase.IsWordSeparatorAnnotationMarkerBase.DeleteSelectedBehaviorInline.CopyFromPositionToEndOfInline(DocumentPosition, DocumentPosition)Inline.CopyFromStartOfInlineToEndPosition(DocumentPosition)Inline.CopyContentFrom(DocumentElement)Inline.FieldStartDocumentElement.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.ChildIndexDocumentElement.HasStyleDocumentElement.StyleDocumentElement.StyleNameDocumentElement.TagDocumentElement.FirstLayoutBoxDocumentElement.IsFirstLayoutBoxInitializedDocumentElement.DocumentElementsDocumentElement.ParentDocumentElement.ChildrenDocumentElement.PreviousSiblingDocumentElement.NextSiblingDocumentElement.CursorDocumentElement.StyleChangingDocumentElement.StyleChangedDocumentElement.StylePropertyChangedDocumentElement.ParentChangingDocumentElement.ParentChangedDocumentElement.PropertyValueChanged

Constructors

SdtRangeEnd()

Declaration

cs-api-definition
public SdtRangeEnd()

Properties

BackspaceBehavior

Gets or sets the behavior of the Backspace key when the end of a structured document tag (SDT) is reached.

Declaration

cs-api-definition
public override AnnotationMarkerDeleteBehavior BackspaceBehavior { get; }

Property Value

AnnotationMarkerDeleteBehavior

A value indicating how the Backspace key functions at the end of the SDT. Possible values include options that define whether to delete the SDT or just its content.

Overrides AnnotationMarkerBase.BackspaceBehavior

DeleteBehavior

Gets or sets the delete behavior for the structured document tag range end.

Declaration

cs-api-definition
public override AnnotationMarkerDeleteBehavior DeleteBehavior { get; }

Property Value

AnnotationMarkerDeleteBehavior

A value indicating how the range end should behave when the associated content is deleted.

Overrides AnnotationMarkerBase.DeleteBehavior

IsCopyable

Gets a value indicating whether the SdtRangeEnd can be copied.

Declaration

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

Property Value

bool

Overrides AnnotationMarkerBase.IsCopyable

SdtStart

Represents the start of a structured document tag (SDT), which is used to delineate the beginning of a range within a structured document. This member is part of the SdtRangeEnd class in the Telerik Windows Documents Model.

Declaration

cs-api-definition
public SdtRangeStart SdtStart { get; }

Property Value

SdtRangeStart

SkipPositionAfter

Gets a value indicating whether there is a skip position after the specified structured document tag (SDT) range end.

Declaration

cs-api-definition
public override bool SkipPositionAfter { get; }

Property Value

bool

True if there is a skip position after the SDT range end; otherwise, false.

Overrides AnnotationMarkerBase.SkipPositionAfter

SkipPositionBefore

Gets or sets the SkipPositionBefore property, which indicates the position before the structured document tag that should be skipped when rendering the document.

Declaration

cs-api-definition
public override bool SkipPositionBefore { get; }

Property Value

bool

A bool value indicating whether to skip the position before the SdtRangeEnd.

Overrides AnnotationMarkerBase.SkipPositionBefore

Methods

CopyContentFromOverride(DocumentElement)

Copies the content from another Inline.

Declaration

cs-api-definition
protected override 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.

Overrides Inline.CopyContentFromOverride(DocumentElement)

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 AnnotationMarkerBase to copy the properties from.

Overrides AnnotationMarkerBase.CopyPropertiesFromOverride(DocumentElement)

CreateLayoutBox(DocumentStructureCollection)

Creates a layout box for the SdtRangeEnd within the specified document structure collection.

Declaration

cs-api-definition
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)

Parameters

documentCollection

DocumentStructureCollection

The collection of document structures in which the layout box will be created.

Returns

LayoutBox

A new layout box representing the end of the structured document tag range.

Overrides AnnotationMarkerBase.CreateLayoutBox(DocumentStructureCollection)

CreateNewElementInstance()

Creates a new instance of this element.

Declaration

cs-api-definition
protected override DocumentElement CreateNewElementInstance()

Returns

DocumentElement

The new instance.

Overrides DocumentElement.CreateNewElementInstance()

CreateRangeStartInstance()

Creates the range start instance.

Declaration

cs-api-definition
protected override AnnotationRangeStart CreateRangeStartInstance()

Returns

AnnotationRangeStart

The created AnnotationRangeStart.

Overrides AnnotationRangeEnd.CreateRangeStartInstance()

OnParentChanged()

Called when the parent of the element has been changed.

Declaration

cs-api-definition
protected override void OnParentChanged()

Overrides DocumentElement.OnParentChanged()

OnParentChanging()

Called when the parent of the element is changing.

Declaration

cs-api-definition
protected override void OnParentChanging()

Overrides DocumentElement.OnParentChanging()