Class
BookmarkRangeStart

Represents the start marker of a bookmark.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class BookmarkRangeStart : AnnotationRangeStart, IBookmarkRangeMarker

Inheritance: objectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeStartBookmarkRangeStart

Implements: IBookmarkRangeMarker

Inherited Members AnnotationRangeStart.EndAnnotationRangeStart.IsPairedAnnotationRangeStart.SkipPositionsInRangeAnnotationRangeStart.ShouldSpellcheckAnnotationRangeStart.IsRangeDeletableAnnotationRangeStart.IsRangeEditableAnnotationMarkerBase.CreateLayoutBox(DocumentStructureCollection)AnnotationMarkerBase.AnnotationIDAnnotationMarkerBase.SkipPositionAfterAnnotationMarkerBase.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.OnParentChanging()DocumentElement.OnParentChanged()DocumentElement.ChildIndexDocumentElement.HasStyleDocumentElement.StyleDocumentElement.StyleNameDocumentElement.TagDocumentElement.FirstLayoutBoxDocumentElement.IsFirstLayoutBoxInitializedDocumentElement.DocumentElementsDocumentElement.ParentDocumentElement.ChildrenDocumentElement.PreviousSiblingDocumentElement.NextSiblingDocumentElement.CursorDocumentElement.StyleChangingDocumentElement.StyleChangedDocumentElement.StylePropertyChangedDocumentElement.ParentChangingDocumentElement.ParentChangedDocumentElement.PropertyValueChanged

Constructors

BookmarkRangeStart()

Initializes a new instance of the BookmarkRangeStart class.

Declaration

cs-api-definition
public BookmarkRangeStart()

BookmarkRangeStart(string)

Initializes a new instance of the BookmarkRangeStart class.

Declaration

cs-api-definition
public BookmarkRangeStart(string name)

Parameters

name

string

The name of the bookmark.

Fields

HiddenPrefix

Declaration

cs-api-definition
public static readonly string HiddenPrefix

Field Value

string

Properties

BackspaceBehavior

Represents the behavior when the Backspace key is pressed over the annotation.

Declaration

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

Property Value

AnnotationMarkerDeleteBehavior

The backspace behavior.

Overrides AnnotationMarkerBase.BackspaceBehavior

DeleteBehavior

Represents the behavior when the Delete key is pressed over the annotation.

Declaration

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

Property Value

AnnotationMarkerDeleteBehavior

The delete behavior.

Overrides AnnotationMarkerBase.DeleteBehavior

IsCopyable

Gets a value indicating whether this instance is copyable.

Declaration

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

Property Value

bool

true if this instance is copyable; otherwise, false.

Overrides AnnotationMarkerBase.IsCopyable

Name

Gets or sets the name of the bookmark.

Declaration

cs-api-definition
[XamlSerializable("")]
public string Name { get; set; }

Property Value

string

The name.

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.

The behavior of AnnotationRangeEnd is also controlled in the same manner.

Declaration

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

Property Value

bool

true if the position before the marker will be skipped; otherwise, false.

Overrides AnnotationMarkerBase.SkipPositionBefore

Methods

CopyContentFromOverride(DocumentElement)

Copies the content from another DocumentElement.

Declaration

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

Parameters

fromElement

DocumentElement

The DocumentElement to copy the content from.

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

Overrides AnnotationMarkerBase.CopyPropertiesFromOverride(DocumentElement)

CreateNewElementInstance()

Creates a new instance of this element.

Declaration

cs-api-definition
protected override DocumentElement CreateNewElementInstance()

Returns

DocumentElement

The new instance.

Overrides DocumentElement.CreateNewElementInstance()