ClassSdtRangeStart
Represents the start of a structured document tag annotation.
Definition
Namespace:Telerik.WinForms.Documents.Model.StructuredDocumentTags
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class SdtRangeStart : AnnotationRangeStart, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeStartSdtRangeStart
Implements:
Inherited Members
Constructors
SdtRangeStart()
Declaration
public SdtRangeStart()
Properties
BackspaceBehavior
Represents the behavior when the Backspace key is pressed over the annotation.
Declaration
public override AnnotationMarkerDeleteBehavior BackspaceBehavior { get; }
Property Value
AnnotationMarkerDeleteBehavior
The backspace behavior.
Overrides
DeleteBehavior
Represents the behavior when the Delete key is pressed over the annotation.
Declaration
public override AnnotationMarkerDeleteBehavior DeleteBehavior { get; }
Property Value
AnnotationMarkerDeleteBehavior
The delete behavior.
Overrides
IsCopyable
Gets a value indicating whether this instance is copyable.
Declaration
public override bool IsCopyable { get; }
Property Value
true if this instance is copyable; otherwise, false.
Overrides
IsRangeDeletable
Gets a value indicating whether this range can be deleted.
Declaration
public override bool IsRangeDeletable { get; }
Property Value
true if this range is deletable; otherwise, false.
Overrides
IsRangeEditable
Gets a value indicating whether this range is editable.
Declaration
public override bool IsRangeEditable { get; }
Property Value
true if this range is editable; otherwise, false.
Overrides
SdtProperties
Declaration
[XamlCompositePropertySerializable]
public SdtProperties SdtProperties { get; set; }
Property Value
SkipPositionAfter
A negation of the SkipPositionBefore property. If the position before the marker is skipped, then the one after it must not be skipped.
Exactly one of the positions must be skipped.
Declaration
public override bool SkipPositionAfter { get; }
Property Value
true if the position after the marker will be skipped; otherwise, false.
Overrides
SkipPositionBefore
Determines if the CaretPosition will be put before or after the annotation marker.
If the value of this property is true for an AnnotationRangeStart, then if you move the caret to the annotation start and start typing,
the newly inserted text will be considered as part of the annotation. Vice versa, if it is set to false, the typed text will be inserted before the annotation.
Declaration
public override bool SkipPositionBefore { get; }
Property Value
true if the position before the marker will be skipped; otherwise, false.
Overrides
Methods
CopyContentFromOverride(DocumentElement)
Copies the content from another Inline.
Declaration
protected override void CopyContentFromOverride(DocumentElement fromElement)
Parameters
fromElement
The Inline to copy the content from.
Exceptions
fromElement must not be null.
Cannot copy content to element itself.
Overrides
CopyPropertiesFromOverride(DocumentElement)
Copies the properties from another document element to the current instance.
Declaration
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters
fromElement
The AnnotationMarkerBase to copy the properties from.
Overrides
CreateLayoutBox(DocumentStructureCollection)
Creates a LayoutBox for the element.
Declaration
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
Parameters
documentCollection
The document collection.
Returns
Overrides
CreateNewElementInstance()
Creates a new instance of this element.
Declaration
protected override DocumentElement CreateNewElementInstance()
Returns
The new instance.
Overrides
OnParentChanged()
Called when the parent of the element has been changed.
Declaration
protected override void OnParentChanged()
Overrides
OnParentChanging()
Called when the parent of the element is changing.
Declaration
protected override void OnParentChanging()
Overrides