1 implementation of IHighlightRange
PresentationFramework (1)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (1)
38
internal class HighlightComponent : Canvas, IAnnotationComponent,
IHighlightRange
32 references to IHighlightRange
PresentationFramework (32)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (22)
78
internal void AddRange(
IHighlightRange
highlightRange)
121
internal void RemoveRange(
IHighlightRange
highlightRange)
165
internal void ModifiedRange(
IHighlightRange
highlightRange)
201
internal void ActivateRange(
IHighlightRange
highlightRange, bool activate)
354
private void ProcessOverlapingSegments(
IHighlightRange
highlightRange, out ITextPointer invalidateStart, out ITextPointer invalidateEnd)
624
internal HighlightSegment(ITextPointer start, ITextPointer end,
IHighlightRange
owner)
627
List<
IHighlightRange
> list = new List<
IHighlightRange
>(1);
640
internal HighlightSegment(ITextPointer start, ITextPointer end, IList<
IHighlightRange
> owners)
644
_owners = new List<
IHighlightRange
>(owners.Count);
655
private void Init(ITextPointer start, ITextPointer end, IList<
IHighlightRange
> owners)
687
internal void AddOwner(
IHighlightRange
owner)
711
internal int RemoveOwner(
IHighlightRange
owner)
729
internal void AddActiveOwner(
IHighlightRange
owner)
744
private void AddActiveOwners(List<
IHighlightRange
> owners)
755
internal void RemoveActiveOwner(
IHighlightRange
owner)
812
internal IList<HighlightSegment> Split(ITextPointer ps1, ITextPointer ps2,
IHighlightRange
newOwner)
1178
internal
IHighlightRange
TopOwner
1229
private readonly List<
IHighlightRange
> _owners;
1230
private List<
IHighlightRange
> _activeOwners = new List<
IHighlightRange
>();
1231
private
IHighlightRange
_cachedTopOwner = null;
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (7)
383
void
IHighlightRange
.AddChild(Shape child)
393
void
IHighlightRange
.RemoveChild(Shape child)
410
Color
IHighlightRange
.Background
421
Color
IHighlightRange
.SelectedBackground
432
TextAnchor
IHighlightRange
.Range
443
int
IHighlightRange
.Priority
454
bool
IHighlightRange
.HighlightContent
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (3)
674
if ((HighlightAnchor == null) || !(HighlightAnchor is
IHighlightRange
))
679
TextAnchor anchor = ((
IHighlightRange
)HighlightAnchor).Range;
732
IHighlightRange
range = _highlightAnchor;