21 references to TextTrimming
PresentationFramework (21)
MS\Internal\PtsHost\Line.cs (9)
377
if (_line.HasOverflowed && TextParagraph.Properties.
TextTrimming
!= TextTrimming.None)
494
if (_line.HasOverflowed && TextParagraph.Properties.
TextTrimming
!= TextTrimming.None)
543
if (_line.HasOverflowed && TextParagraph.Properties.
TextTrimming
!= TextTrimming.None)
572
if (_line.HasOverflowed && TextParagraph.Properties.
TextTrimming
!= TextTrimming.None)
622
if (TextParagraph.Properties.
TextTrimming
== TextTrimming.None)
989
if (_line.HasOverflowed && TextParagraph.Properties.
TextTrimming
!= TextTrimming.None)
1029
Invariant.Assert(paraProperties.
TextTrimming
!= TextTrimming.None, "Text trimming must be enabled.");
1031
if (paraProperties.
TextTrimming
== TextTrimming.CharacterEllipsis)
1191
if (TextParagraph.Properties.
TextTrimming
== TextTrimming.None)
MS\Internal\Text\ComplexLine.cs (1)
264
if (_line.HasOverflowed && _owner.ParagraphProperties.
TextTrimming
!= TextTrimming.None)
MS\Internal\Text\Line.cs (9)
109
if (_line.HasOverflowed && _owner.ParagraphProperties.
TextTrimming
!= TextTrimming.None)
161
if (_line.HasOverflowed && _owner.ParagraphProperties.
TextTrimming
!= TextTrimming.None)
197
if (_line.HasOverflowed && _owner.ParagraphProperties.
TextTrimming
!= TextTrimming.None)
301
if (_owner.ParagraphProperties.
TextTrimming
== TextTrimming.None) { return 0; }
334
if (_owner.ParagraphProperties.
TextTrimming
== TextTrimming.None)
455
if (_line.HasOverflowed && _owner.ParagraphProperties.
TextTrimming
!= TextTrimming.None)
495
Debug.Assert(paraProperties.
TextTrimming
!= TextTrimming.None, "Text trimming must be enabled.");
497
if (paraProperties.
TextTrimming
== TextTrimming.CharacterEllipsis)
551
if (_owner.ParagraphProperties.
TextTrimming
== TextTrimming.None)
System\Windows\Controls\TextBlock.cs (2)
1197
if (lineProperties.
TextTrimming
== TextTrimming.None)
1300
if ((lineProperties.
TextTrimming
== TextTrimming.None) ||