55 references to TextTrimming
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
WpfClassificationExtensions.cs (2)
93TextTrimming = wrap ? TextTrimming.None : TextTrimming.CharacterEllipsis
Microsoft.VisualStudio.LanguageServices (3)
PreviewPane\PreviewPane.xaml.cs (3)
318TitleTextBlock.TextTrimming = TextTrimming.CharacterEllipsis; 398TitleTextBlock.TextTrimming = TextTrimming.None; 416TitleTextBlock.TextTrimming = TextTrimming.CharacterEllipsis;
PresentationCore (10)
System\Windows\Media\FormattedText.cs (10)
1079if (_that._trimming != TextTrimming.None && !_currentLine.HasCollapsed) 1129if (_that._trimming != TextTrimming.None && line.HasOverflowed && line.Length > 0) 1146if (_that._trimming == TextTrimming.CharacterEllipsis) 1150Debug.Assert(_that._trimming == TextTrimming.WordEllipsis); 1390public TextTrimming Trimming 1394if ((int)value < 0 || (int)value > (int)TextTrimming.WordEllipsis) 1395throw new InvalidEnumArgumentException("value", (int)value, typeof(TextTrimming)); 1398if (_trimming == TextTrimming.None) 2026private TextTrimming _trimming = TextTrimming.WordEllipsis;
PresentationFramework (38)
MS\Internal\PtsHost\Line.cs (9)
395if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 513if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 562if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 591if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 641if (TextParagraph.Properties.TextTrimming == TextTrimming.None) 1008if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 1048Invariant.Assert(paraProperties.TextTrimming != TextTrimming.None, "Text trimming must be enabled."); 1050if (paraProperties.TextTrimming == TextTrimming.CharacterEllipsis) 1210if (TextParagraph.Properties.TextTrimming == TextTrimming.None)
MS\Internal\Text\ComplexLine.cs (1)
273if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming != TextTrimming.None)
MS\Internal\Text\Line.cs (9)
120if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming != TextTrimming.None) 172if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming != TextTrimming.None) 208if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming != TextTrimming.None) 312if (_owner.ParagraphProperties.TextTrimming == TextTrimming.None) { return 0; } 345if (_owner.ParagraphProperties.TextTrimming == TextTrimming.None) 466if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming != TextTrimming.None) 506Debug.Assert(paraProperties.TextTrimming != TextTrimming.None, "Text trimming must be enabled."); 508if (paraProperties.TextTrimming == TextTrimming.CharacterEllipsis) 562if (_owner.ParagraphProperties.TextTrimming == TextTrimming.None)
MS\Internal\Text\LineProperties.cs (4)
136_textTrimming = TextTrimming.None; 144_textTrimming = (TextTrimming)contentHost.GetValue(TextBlock.TextTrimmingProperty); 267internal TextTrimming TextTrimming 314private TextTrimming _textTrimming;
System\Windows\Controls\AccessText.cs (3)
360TextTrimming.None, 368public TextTrimming TextTrimming 370get { return (TextTrimming) GetValue(TextTrimmingProperty); }
System\Windows\Controls\TextBlock.cs (11)
1070typeof(TextTrimming), 1073TextTrimming.None, 1081public TextTrimming TextTrimming 1083get { return (TextTrimming)GetValue(TextTrimmingProperty); } 1210if (lineProperties.TextTrimming == TextTrimming.None) 1316if ((lineProperties.TextTrimming == TextTrimming.None) || 3794TextTrimming value = (TextTrimming)o; 3795return value == TextTrimming.CharacterEllipsis 3796|| value == TextTrimming.None 3797|| value == TextTrimming.WordEllipsis;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3596bamlMember.TypeConverterType = typeof(System.Windows.TextTrimming);
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (2)
111public TextTrimming TextTrimming 113get { return (TextTrimming)GetValue(TextTrimmingProperty); }