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)
1045if (_that._trimming != TextTrimming.None && !_currentLine.HasCollapsed) 1093if (_that._trimming != TextTrimming.None && line.HasOverflowed && line.Length > 0) 1110if (_that._trimming == TextTrimming.CharacterEllipsis) 1114Debug.Assert(_that._trimming == TextTrimming.WordEllipsis); 1354public TextTrimming Trimming 1358if ((int)value < 0 || (int)value > (int)TextTrimming.WordEllipsis) 1359throw new InvalidEnumArgumentException("value", (int)value, typeof(TextTrimming)); 1362if (_trimming == TextTrimming.None) 1994private TextTrimming _trimming = TextTrimming.WordEllipsis;
PresentationFramework (38)
MS\Internal\PtsHost\Line.cs (9)
378if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 495if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 544if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 573if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 623if (TextParagraph.Properties.TextTrimming == TextTrimming.None) 990if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming != TextTrimming.None) 1030Invariant.Assert(paraProperties.TextTrimming != TextTrimming.None, "Text trimming must be enabled."); 1032if (paraProperties.TextTrimming == TextTrimming.CharacterEllipsis) 1192if (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)
1058typeof(TextTrimming), 1061TextTrimming.None, 1069public TextTrimming TextTrimming 1071get { return (TextTrimming)GetValue(TextTrimmingProperty); } 1198if (lineProperties.TextTrimming == TextTrimming.None) 1301if ((lineProperties.TextTrimming == TextTrimming.None) || 3775TextTrimming value = (TextTrimming)o; 3776return value == TextTrimming.CharacterEllipsis 3777|| value == TextTrimming.None 3778|| value == TextTrimming.WordEllipsis;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3755TypeConverterType = typeof(System.Windows.TextTrimming)
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (2)
108public TextTrimming TextTrimming 110get { return (TextTrimming)GetValue(TextTrimmingProperty); }