5 implementations of Highlights
PresentationFramework (5)
System\Windows\Controls\PasswordTextContainer.cs (1)
407
Highlights ITextContainer.
Highlights
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
266
Highlights ITextContainer.
Highlights
System\Windows\Documents\FixedTextContainer.cs (1)
235
Highlights ITextContainer.
Highlights
System\Windows\Documents\NullTextContainer.cs (1)
216
Highlights ITextContainer.
Highlights
System\Windows\Documents\TextContainer.cs (1)
1735
Highlights ITextContainer.
Highlights
31 references to Highlights
PresentationFramework (31)
MS\Internal\Annotations\Component\HighlightComponent.cs (8)
241
Invariant.Assert(textContainer.
Highlights
!= null, "textContainer.Highlights is null");
244
AnnotationHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer;
248
textContainer.
Highlights
.AddLayer(highlightLayer);
287
Invariant.Assert(textContainer.
Highlights
!= null, "textContainer.Highlights is null");
290
AnnotationHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer;
340
AnnotationHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer;
597
Invariant.Assert(textContainer.
Highlights
!= null, "textContainer.Highlights is null");
600
AnnotationHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer;
MS\Internal\Documents\TextBoxLine.cs (2)
431
StaticTextPointer endOfRunPosition = _owner.Host.TextContainer.
Highlights
.GetNextPropertyChangePosition(position, LogicalDirection.Forward);
440
var highlights = position.TextContainer.
Highlights
;
MS\Internal\Documents\TextBoxView.cs (3)
1223
System.Diagnostics.Debug.Assert(_host != null && _host.TextContainer != null && _host.TextContainer.
Highlights
!= null,
1228
_host.TextContainer.
Highlights
.Changed -= new HighlightChangedEventHandler(OnHighlightChanged);
1402
_host.TextContainer.
Highlights
.Changed += new HighlightChangedEventHandler(OnHighlightChanged);
MS\Internal\PtsHost\LineBase.cs (1)
112
endOfRunPosition = position.TextContainer.
Highlights
.GetNextPropertyChangePosition(position, LogicalDirection.Forward);
MS\Internal\Text\DynamicPropertyReader.cs (1)
260
selected = position.TextContainer.
Highlights
.GetHighlightValue(position, LogicalDirection.Forward, typeof(TextSelection));
MS\Internal\Text\TextProperties.cs (1)
226
Highlights highlights = highlightPosition.TextContainer.
Highlights
;
System\Windows\Controls\TextBlock.cs (1)
3960
internal Highlights Highlights { get { return this.TextContainer.
Highlights
; } }
System\Windows\Documents\ChildDocumentBlock.cs (2)
130
Debug.Assert(ChildContainer.
Highlights
.GetLayer(typeof(TextSelection)) == null);
131
ChildContainer.
Highlights
.AddLayer(_highlightLayer);
System\Windows\Documents\DocumentSequenceTextContainer.cs (3)
933
if (textPosition.TextContainer.
Highlights
!= this)
976
if (textPosition.TextContainer.
Highlights
!= this)
997
if (textPosition.TextContainer.
Highlights
!= this)
System\Windows\Documents\Speller.cs (2)
86
_textEditor.TextContainer.
Highlights
.RemoveLayer(_highlightLayer);
466
_textEditor.TextContainer.
Highlights
.AddLayer(_highlightLayer);
System\windows\Documents\TextSelection.cs (7)
728
if (_highlightLayer != null && thisSelection.Start.TextContainer.
Highlights
.GetLayer(typeof(TextSelection)) == _highlightLayer)
730
thisSelection.Start.TextContainer.
Highlights
.RemoveLayer(_highlightLayer);
1816
if (textContainer.
Highlights
.GetLayer(typeof(TextSelection)) == null)
1818
textContainer.
Highlights
.AddLayer(_highlightLayer);
1826
TextSelectionHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(TextSelection)) as TextSelectionHighlightLayer;
1829
textContainer.
Highlights
.RemoveLayer(highlightLayer);
1830
Invariant.Assert(textContainer.
Highlights
.GetLayer(typeof(TextSelection)) == null);