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