49 references to TextTrimming
PresentationCore (10)
Core\CSharp\System\Windows\Media\FormattedText.cs (10)
1092
if (_that._trimming !=
TextTrimming
.None && !_currentLine.HasCollapsed)
1142
if (_that._trimming !=
TextTrimming
.None && line.HasOverflowed && line.Length > 0)
1159
if (_that._trimming ==
TextTrimming
.CharacterEllipsis)
1163
Debug.Assert(_that._trimming ==
TextTrimming
.WordEllipsis);
1406
public
TextTrimming
Trimming
1410
if ((int)value < 0 || (int)value > (int)
TextTrimming
.WordEllipsis)
1411
throw new InvalidEnumArgumentException("value", (int)value, typeof(
TextTrimming
));
1414
if (_trimming ==
TextTrimming
.None)
2043
private
TextTrimming
_trimming =
TextTrimming
.WordEllipsis;
PresentationFramework (38)
src\Framework\MS\Internal\PtsHost\Line.cs (9)
398
if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming !=
TextTrimming
.None)
516
if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming !=
TextTrimming
.None)
565
if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming !=
TextTrimming
.None)
594
if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming !=
TextTrimming
.None)
644
if (TextParagraph.Properties.TextTrimming ==
TextTrimming
.None)
1011
if (_line.HasOverflowed && TextParagraph.Properties.TextTrimming !=
TextTrimming
.None)
1051
Invariant.Assert(paraProperties.TextTrimming !=
TextTrimming
.None, "Text trimming must be enabled.");
1053
if (paraProperties.TextTrimming ==
TextTrimming
.CharacterEllipsis)
1218
if (TextParagraph.Properties.TextTrimming ==
TextTrimming
.None)
src\Framework\MS\Internal\Text\ComplexLine.cs (1)
276
if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming !=
TextTrimming
.None)
src\Framework\MS\Internal\Text\Line.cs (9)
123
if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming !=
TextTrimming
.None)
175
if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming !=
TextTrimming
.None)
211
if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming !=
TextTrimming
.None)
315
if (_owner.ParagraphProperties.TextTrimming ==
TextTrimming
.None) { return 0; }
348
if (_owner.ParagraphProperties.TextTrimming ==
TextTrimming
.None)
469
if (_line.HasOverflowed && _owner.ParagraphProperties.TextTrimming !=
TextTrimming
.None)
509
Debug.Assert(paraProperties.TextTrimming !=
TextTrimming
.None, "Text trimming must be enabled.");
511
if (paraProperties.TextTrimming ==
TextTrimming
.CharacterEllipsis)
565
if (_owner.ParagraphProperties.TextTrimming ==
TextTrimming
.None)
src\Framework\MS\Internal\Text\LineProperties.cs (4)
139
_textTrimming =
TextTrimming
.None;
147
_textTrimming = (
TextTrimming
)contentHost.GetValue(TextBlock.TextTrimmingProperty);
270
internal
TextTrimming
TextTrimming
317
private
TextTrimming
_textTrimming;
src\Framework\System\Windows\Controls\AccessText.cs (3)
360
TextTrimming
.None,
368
public
TextTrimming
TextTrimming
370
get { return (
TextTrimming
) GetValue(TextTrimmingProperty); }
src\Framework\System\Windows\Controls\TextBlock.cs (11)
1148
typeof(
TextTrimming
),
1151
TextTrimming
.None,
1159
public
TextTrimming
TextTrimming
1161
get { return (
TextTrimming
)GetValue(TextTrimmingProperty); }
1288
if (lineProperties.TextTrimming ==
TextTrimming
.None)
1394
if ((lineProperties.TextTrimming ==
TextTrimming
.None) ||
3783
TextTrimming
value = (
TextTrimming
)o;
3784
return value ==
TextTrimming
.CharacterEllipsis
3785
|| value ==
TextTrimming
.None
3786
|| value ==
TextTrimming
.WordEllipsis;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3588
bamlMember.TypeConverterType = typeof(System.Windows.
TextTrimming
);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\SearchToolTipAdorner.cs (1)
36
TextTrimming =
TextTrimming
.CharacterEllipsis