This is a migrated thread and some comments may be shown as answers.

Annotation Range Override Properties

1 Answer 50 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 03 May 2012, 02:02 AM
Good evening,

Is there a list or information detailing what properties & methods can be overridden and the function they serve for the Annotation Ranges ?

For example I have SmanticRangeStart & SemanticRangeEnd classed with the following properties:

Range End
public override bool SkipPositionBefore
{
    get
    {
        return true;
    }
}
 
public override bool IsCopyable
{
    get
    {
        return true;
    }
}
 
public override AnnotationMarkerDeleteBehavior BackspaceBehavior
{
    get
    {
        return AnnotationMarkerDeleteBehavior.SelectAnnotation;
    }
}

Range Start
public override bool SkipPositionBefore
{
    get
    {
        return true;
    }
}
 
public override bool IsCopyable
{
    get
    {
        return true;
    }
}
 
public override bool SkipPositionsInRange
{
    get
    {
        return true;
    }
}

Any information would be very useful.

Thanks,

Rob



1 Answer, 1 is accepted

Sort by
0
Accepted
Iva Toteva
Telerik team
answered on 04 May 2012, 06:44 PM
Hello Rob,

There is an article in our online documentation about custom annotations. You can find it here.

All the best,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RichTextBox
Asked by
Robert
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or