Class
SdtRangeStart

Represents the start 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 SdtRangeStart : AnnotationRangeStart

Inheritance: objectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeStartSdtRangeStart

Inherited Members AnnotationRangeStart.EndAnnotationRangeStart.IsPairedAnnotationRangeStart.SkipPositionsInRangeAnnotationRangeStart.ShouldSpellcheckAnnotationMarkerBase.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

SdtRangeStart()

Declaration

cs-api-definition
public SdtRangeStart()

Properties

BackspaceBehavior

Gets or sets the behavior of the backspace operation when it is applied to the structured document tag range start.

Declaration

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

Property Value

AnnotationMarkerDeleteBehavior

A value representing the backspace behavior for the SdtRangeStart.

Overrides AnnotationMarkerBase.BackspaceBehavior

DeleteBehavior

Gets or sets the deletion behavior for the Structured Document Tag (SDT) range start.

Declaration

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

Property Value

AnnotationMarkerDeleteBehavior

Overrides AnnotationMarkerBase.DeleteBehavior

IsCopyable

Gets a value indicating whether the structured document tag range start can be copied.

Declaration

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

Property Value

bool

Overrides AnnotationMarkerBase.IsCopyable

IsRangeDeletable

Gets a value indicating whether the range represented by the SdtRangeStart is deletable.

Declaration

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

Property Value

bool

True if the range can be deleted; otherwise, false.

Overrides AnnotationRangeStart.IsRangeDeletable

IsRangeEditable

Gets a value indicating whether the range represented by the structured document tag is editable.

Declaration

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

Property Value

bool

Overrides AnnotationRangeStart.IsRangeEditable

SdtEnd

Represents the end of a structured document tag (SDT) range, marking the boundary of the content defined within the SDT in a document.

Declaration

cs-api-definition
public SdtRangeEnd SdtEnd { get; }

Property Value

SdtRangeEnd

SdtProperties

Gets or sets the properties of the Structured Document Tag (SDT) associated with the SdtRangeStart.

Declaration

cs-api-definition
[XamlCompositePropertySerializable]
public SdtProperties SdtProperties { get; set; }

Property Value

SdtProperties

The properties of the SDT, which can be used to define characteristics such as formatting and behavior.

SkipPositionAfter

Gets or sets the skip position after the structured document tag range start.

Declaration

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

Property Value

bool

Overrides AnnotationMarkerBase.SkipPositionAfter

SkipPositionBefore

Gets or sets the skip position before the structured document tag range start.

Declaration

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

Property Value

bool

The skip position before the current structured document tag range start.

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 specified document structure collection.

Declaration

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

Parameters

documentCollection

DocumentStructureCollection

The collection of document structures to create a layout box for.

Returns

LayoutBox

A layout box representing the start of a 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()

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()