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