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