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)
1063if (_that._trimming != TextTrimming.None && !_currentLine.HasCollapsed) 1113if (_that._trimming != TextTrimming.None && line.HasOverflowed && line.Length > 0) 1130if (_that._trimming == TextTrimming.CharacterEllipsis) 1134Debug.Assert(_that._trimming == TextTrimming.WordEllipsis); 1374public TextTrimming Trimming 1378if ((int)value < 0 || (int)value > (int)TextTrimming.WordEllipsis) 1379throw new InvalidEnumArgumentException("value", (int)value, typeof(TextTrimming)); 1382if (_trimming == TextTrimming.None) 2010private TextTrimming _trimming = TextTrimming.WordEllipsis;
PresentationFramework (38)
MS\Internal\PtsHost\Line.cs (9)
389if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 507if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 556if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 585if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 635if (TextParagraph.Properties.TextTrimming == TextTrimming.None) 1002if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 1042Invariant.Assert(paraProperties.TextTrimming != TextTrimming.None, "Text trimming must be enabled."); 1044if (paraProperties.TextTrimming == TextTrimming.CharacterEllipsis) 1204if (TextParagraph.Properties.TextTrimming == TextTrimming.None)
MS\Internal\Text\ComplexLine.cs (1)
268if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming != TextTrimming.None)
MS\Internal\Text\Line.cs (9)
113if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming != TextTrimming.None) 165if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming != TextTrimming.None) 201if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming != TextTrimming.None) 305if (_owner.ParagraphProperties.TextTrimming == TextTrimming.None) { return 0; } 338if (_owner.ParagraphProperties.TextTrimming == TextTrimming.None) 459if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming != TextTrimming.None) 499Debug.Assert(paraProperties.TextTrimming != TextTrimming.None, "Text trimming must be enabled."); 501if (paraProperties.TextTrimming == TextTrimming.CharacterEllipsis) 555if (_owner.ParagraphProperties.TextTrimming == TextTrimming.None)
MS\Internal\Text\LineProperties.cs (4)
132_textTrimming = TextTrimming.None; 140_textTrimming = (TextTrimming)contentHost.GetValue(TextBlock.TextTrimmingProperty); 263internal TextTrimming TextTrimming 310private TextTrimming _textTrimming;
System\Windows\Controls\AccessText.cs (3)
358TextTrimming.None, 366public TextTrimming TextTrimming 368get { return (TextTrimming) GetValue(TextTrimmingProperty); }
System\Windows\Controls\TextBlock.cs (11)
1060typeof(TextTrimming), 1063TextTrimming.None, 1071public TextTrimming TextTrimming 1073get { return (TextTrimming)GetValue(TextTrimmingProperty); } 1200if (lineProperties.TextTrimming == TextTrimming.None) 1306if ((lineProperties.TextTrimming == TextTrimming.None) || 3784TextTrimming value = (TextTrimming)o; 3785return value == TextTrimming.CharacterEllipsis 3786|| value == TextTrimming.None 3787|| value == TextTrimming.WordEllipsis;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3594bamlMember.TypeConverterType = typeof(System.Windows.TextTrimming);
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (2)
108public TextTrimming TextTrimming 110get { return (TextTrimming)GetValue(TextTrimmingProperty); }