skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class AnnotationMarkerBase

Represents a marker inside a RadDocument.

Inheritance
System.Object
DocumentElement
Inline
AnnotationMarkerBase
AnnotationRangeMarkerBase
FloatingBlock
Inherited Members
Inline.CopyFromPositionToEndOfInline(DocumentPosition, DocumentPosition)
Inline.CopyFromStartOfInlineToEndPosition(DocumentPosition)
Inline.CopyContentFromOverride(DocumentElement)
Inline.CopyContentFrom(DocumentElement)
Inline.FieldStart
DocumentElement.CreateNewElementInstance()
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.add_StylePropertyChanged(StylePropertyChangeEventHandler)
DocumentElement.remove_StylePropertyChanged(StylePropertyChangeEventHandler)
DocumentElement.OnStylePropertyChanged(StylePropertyChangeEventArgs)
DocumentElement.OnParentChanging()
DocumentElement.OnParentChanged()
DocumentElement.add_PropertyValueChanged(StylePropertyChangeEventHandler)
DocumentElement.remove_PropertyValueChanged(StylePropertyChangeEventHandler)
DocumentElement.ChildIndex
DocumentElement.HasStyle
DocumentElement.Style
DocumentElement.StyleName
DocumentElement.Tag
DocumentElement.FirstLayoutBox
DocumentElement.LastLayoutBox
DocumentElement.IsFirstLayoutBoxInitialized
DocumentElement.DocumentElements
DocumentElement.Parent
DocumentElement.Children
DocumentElement.PreviousSibling
DocumentElement.NextSibling
DocumentElement.Cursor
DocumentElement.OriginalProperties
DocumentElement.RevisionInfo
DocumentElement.StyleChanging
DocumentElement.StyleChanged
DocumentElement.StylePropertyChanged
DocumentElement.ParentChanging
DocumentElement.ParentChanged
DocumentElement.PropertyValueChanged
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Controls.RichTextBox.dll

Syntax

public abstract class AnnotationMarkerBase : Inline

Constructors

AnnotationMarkerBase()

Declaration
protected AnnotationMarkerBase()

Properties

AnnotationID

Gets or sets the annotation identifier.

Declaration
[XamlSerializable]
public int AnnotationID { get; set; }
Property Value
System.Int32

The annotation identifier.

BackspaceBehavior

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

Declaration
public virtual AnnotationMarkerDeleteBehavior BackspaceBehavior { get; }
Property Value
AnnotationMarkerDeleteBehavior

The backspace behavior.

DeleteBehavior

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

Declaration
public virtual AnnotationMarkerDeleteBehavior DeleteBehavior { get; }
Property Value
AnnotationMarkerDeleteBehavior

The delete behavior.

DeleteSelectedBehavior

Represents the behavior when the annotation is selected and Backspace or Delete keys are pressed.

Declaration
public virtual AnnotationMarkerDeleteBehavior DeleteSelectedBehavior { get; }
Property Value
AnnotationMarkerDeleteBehavior

The delete selected behavior.

IsCopyable

Gets a value indicating whether this instance is copyable.

Declaration
public override bool IsCopyable { get; }
Property Value
System.Boolean

true if this instance is copyable; otherwise, false.

Overrides
Inline.IsCopyable

IsWordSeparator

Determines whether the annotation should be treated as word separator.

Declaration
public virtual bool IsWordSeparator { get; }
Property Value
System.Boolean

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 virtual bool SkipPositionAfter { get; }
Property Value
System.Boolean

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

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
public abstract bool SkipPositionBefore { get; }
Property Value
System.Boolean

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

Methods

CopyPropertiesFromOverride(DocumentElement)

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

Declaration
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters
DocumentElement fromElement

The AnnotationMarkerBase to copy the properties from.

Overrides
Inline.CopyPropertiesFromOverride(DocumentElement)

CreateLayoutBox(DocumentStructureCollection)

Creates a LayoutBox for the element.

Declaration
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
Parameters
DocumentStructureCollection documentCollection

The document collection.

Returns
LayoutBox

Overrides
DocumentElement.CreateLayoutBox(DocumentStructureCollection)

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

See Also

Inline
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.