5 implementations of Highlights
PresentationFramework (5)
System\Windows\Controls\PasswordTextContainer.cs (1)
404
Highlights ITextContainer.
Highlights
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
250
Highlights ITextContainer.
Highlights
System\Windows\Documents\FixedTextContainer.cs (1)
219
Highlights ITextContainer.
Highlights
System\Windows\Documents\NullTextContainer.cs (1)
212
Highlights ITextContainer.
Highlights
System\Windows\Documents\TextContainer.cs (1)
1730
Highlights ITextContainer.
Highlights
31 references to Highlights
PresentationFramework (31)
MS\Internal\Annotations\Component\HighlightComponent.cs (8)
233
Invariant.Assert(textContainer.
Highlights
!= null, "textContainer.Highlights is null");
236
AnnotationHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer;
240
textContainer.
Highlights
.AddLayer(highlightLayer);
279
Invariant.Assert(textContainer.
Highlights
!= null, "textContainer.Highlights is null");
282
AnnotationHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer;
332
AnnotationHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer;
589
Invariant.Assert(textContainer.
Highlights
!= null, "textContainer.Highlights is null");
592
AnnotationHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer;
MS\Internal\Documents\TextBoxLine.cs (2)
424
StaticTextPointer endOfRunPosition = _owner.Host.TextContainer.
Highlights
.GetNextPropertyChangePosition(position, LogicalDirection.Forward);
433
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)
102
endOfRunPosition = position.TextContainer.
Highlights
.GetNextPropertyChangePosition(position, LogicalDirection.Forward);
MS\Internal\Text\DynamicPropertyReader.cs (1)
254
selected = position.TextContainer.
Highlights
.GetHighlightValue(position, LogicalDirection.Forward, typeof(TextSelection));
MS\Internal\Text\TextProperties.cs (1)
224
Highlights highlights = highlightPosition.TextContainer.
Highlights
;
System\Windows\Controls\TextBlock.cs (1)
3950
internal Highlights Highlights { get { return this.TextContainer.
Highlights
; } }
System\Windows\Documents\ChildDocumentBlock.cs (2)
127
Debug.Assert(ChildContainer.
Highlights
.GetLayer(typeof(TextSelection)) == null);
128
ChildContainer.
Highlights
.AddLayer(_highlightLayer);
System\Windows\Documents\DocumentSequenceTextContainer.cs (3)
916
if (textPosition.TextContainer.
Highlights
!= this)
959
if (textPosition.TextContainer.
Highlights
!= this)
980
if (textPosition.TextContainer.
Highlights
!= this)
System\Windows\Documents\Speller.cs (2)
82
_textEditor.TextContainer.
Highlights
.RemoveLayer(_highlightLayer);
462
_textEditor.TextContainer.
Highlights
.AddLayer(_highlightLayer);
System\windows\Documents\TextSelection.cs (7)
725
if (_highlightLayer != null && thisSelection.Start.TextContainer.
Highlights
.GetLayer(typeof(TextSelection)) == _highlightLayer)
727
thisSelection.Start.TextContainer.
Highlights
.RemoveLayer(_highlightLayer);
1813
if (textContainer.
Highlights
.GetLayer(typeof(TextSelection)) == null)
1815
textContainer.
Highlights
.AddLayer(_highlightLayer);
1823
TextSelectionHighlightLayer highlightLayer = textContainer.
Highlights
.GetLayer(typeof(TextSelection)) as TextSelectionHighlightLayer;
1826
textContainer.
Highlights
.RemoveLayer(highlightLayer);
1827
Invariant.Assert(textContainer.
Highlights
.GetLayer(typeof(TextSelection)) == null);