5 implementations of Highlights
PresentationFramework (5)
System\Windows\Controls\PasswordTextContainer.cs (1)
403
Highlights ITextContainer.
Highlights
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
249
Highlights ITextContainer.
Highlights
System\Windows\Documents\FixedTextContainer.cs (1)
218
Highlights ITextContainer.
Highlights
System\Windows\Documents\NullTextContainer.cs (1)
211
Highlights ITextContainer.
Highlights
System\Windows\Documents\TextContainer.cs (1)
1723
Highlights ITextContainer.
Highlights
31 references to Highlights
PresentationFramework (31)
MS\Internal\Annotations\Component\HighlightComponent.cs (8)
232
Invariant.Assert(textContainer.
Highlights
!= null, "textContainer.Highlights is null");
235
AnnotationHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer;
239
textContainer.
Highlights
.AddLayer(highlightLayer);
278
Invariant.Assert(textContainer.
Highlights
!= null, "textContainer.Highlights is null");
281
AnnotationHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer;
331
AnnotationHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer;
588
Invariant.Assert(textContainer.
Highlights
!= null, "textContainer.Highlights is null");
591
AnnotationHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer;
MS\Internal\Documents\TextBoxLine.cs (2)
423
StaticTextPointer endOfRunPosition = _owner.Host.TextContainer.
Highlights
.GetNextPropertyChangePosition(position, LogicalDirection.Forward);
432
var highlights = position.TextContainer.
Highlights
;
MS\Internal\Documents\TextBoxView.cs (3)
1180
System.Diagnostics.Debug.Assert(_host != null && _host.TextContainer != null && _host.TextContainer.
Highlights
!= null,
1185
_host.TextContainer.
Highlights
.Changed -= new HighlightChangedEventHandler(OnHighlightChanged);
1359
_host.TextContainer.
Highlights
.Changed += new HighlightChangedEventHandler(OnHighlightChanged);
MS\Internal\PtsHost\LineBase.cs (1)
101
endOfRunPosition = position.TextContainer.
Highlights
.GetNextPropertyChangePosition(position, LogicalDirection.Forward);
MS\Internal\Text\DynamicPropertyReader.cs (1)
253
selected = position.TextContainer.
Highlights
.GetHighlightValue(position, LogicalDirection.Forward, typeof(TextSelection));
MS\Internal\Text\TextProperties.cs (1)
223
Highlights highlights = highlightPosition.TextContainer.
Highlights
;
System\Windows\Controls\TextBlock.cs (1)
3940
internal Highlights Highlights { get { return this.TextContainer.
Highlights
; } }
System\Windows\Documents\ChildDocumentBlock.cs (2)
126
Debug.Assert(ChildContainer.
Highlights
.GetLayer(typeof(TextSelection)) == null);
127
ChildContainer.
Highlights
.AddLayer(_highlightLayer);
System\Windows\Documents\DocumentSequenceTextContainer.cs (3)
915
if (textPosition.TextContainer.
Highlights
!= this)
958
if (textPosition.TextContainer.
Highlights
!= this)
979
if (textPosition.TextContainer.
Highlights
!= this)
System\Windows\Documents\Speller.cs (2)
81
_textEditor.TextContainer.
Highlights
.RemoveLayer(_highlightLayer);
461
_textEditor.TextContainer.
Highlights
.AddLayer(_highlightLayer);
System\windows\Documents\TextSelection.cs (7)
712
if (_highlightLayer != null && thisSelection.Start.TextContainer.
Highlights
.GetLayer(typeof(TextSelection)) == _highlightLayer)
714
thisSelection.Start.TextContainer.
Highlights
.RemoveLayer(_highlightLayer);
1797
if (textContainer.
Highlights
.GetLayer(typeof(TextSelection)) == null)
1799
textContainer.
Highlights
.AddLayer(_highlightLayer);
1807
TextSelectionHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(TextSelection)) as TextSelectionHighlightLayer;
1810
textContainer.
Highlights
.RemoveLayer(highlightLayer);
1811
Invariant.Assert(textContainer.
Highlights
.GetLayer(typeof(TextSelection)) == null);