18 instantiations of TextDecorationCollection
PresentationCore (7)
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (2)
484
TextDecorationCollection collection = new
TextDecorationCollection
();
601
return new
TextDecorationCollection
();
Core\CSharp\system\windows\TextDecorationCollectionConverter.cs (1)
110
TextDecorationCollection textDecorations = new
TextDecorationCollection
();
Core\CSharp\System\Windows\TextDecorations.cs (4)
32
underline = new
TextDecorationCollection
();
39
strikethrough = new
TextDecorationCollection
();
46
overLine = new
TextDecorationCollection
();
53
baseline = new
TextDecorationCollection
();
PresentationFramework (11)
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (1)
101
textDecorations = new
TextDecorationCollection
();
src\Framework\MS\Internal\Text\TextSpanModifier.cs (1)
158
TextDecorationCollection result = new
TextDecorationCollection
();
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (1)
178
TextDecorationCollection decorationCollection = new
TextDecorationCollection
();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10011
bamlType.DefaultConstructor = delegate() { return new System.Windows.
TextDecorationCollection
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1595
case KnownElements.TextDecorationCollection: o = new System.Windows.
TextDecorationCollection
(); break;
src\Framework\System\Windows\SystemFonts.cs (6)
80
_iconFontTextDecorations = new
TextDecorationCollection
();
161
_captionFontTextDecorations = new
TextDecorationCollection
();
241
_smallCaptionFontTextDecorations = new
TextDecorationCollection
();
318
_menuFontTextDecorations = new
TextDecorationCollection
();
399
_statusFontTextDecorations = new
TextDecorationCollection
();
477
_messageFontTextDecorations = new
TextDecorationCollection
();
144 references to TextDecorationCollection
PresentationCore (46)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (2)
69
private
TextDecorationCollection
_paragraphTextDecorations; // Paragraph-level text decorations (or null if none)
2668
internal
TextDecorationCollection
TextDecorations
Core\CSharp\MS\Internal\TextFormatting\GenericTextProperties.cs (3)
47
TextDecorationCollection
textDecorations,
144
public override
TextDecorationCollection
TextDecorations
212
private
TextDecorationCollection
_textDecorations;
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
295
TextDecorationCollection
textDecorations,
1151
TextDecorationCollection
textDecorations = currentLine.TextDecorations;
1199
TextDecorationCollection
textDecorations,
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1488
TextDecorationCollection
textDecorations = textRun.Properties.TextDecorations;
Core\CSharp\MS\Internal\TextFormatting\TextProperties.cs (1)
156
internal
TextDecorationCollection
TextDecorations
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (17)
58
public new
TextDecorationCollection
Clone()
60
return (
TextDecorationCollection
)base.Clone();
67
public new
TextDecorationCollection
CloneCurrentValue()
69
return (
TextDecorationCollection
)base.CloneCurrentValue();
478
internal static
TextDecorationCollection
Empty
484
TextDecorationCollection
collection = new TextDecorationCollection();
578
private static
TextDecorationCollection
s_empty;
608
TextDecorationCollection
sourceTextDecorationCollection = (
TextDecorationCollection
) source;
630
TextDecorationCollection
sourceTextDecorationCollection = (
TextDecorationCollection
) source;
652
TextDecorationCollection
sourceTextDecorationCollection = (
TextDecorationCollection
) source;
674
TextDecorationCollection
sourceTextDecorationCollection = (
TextDecorationCollection
) source;
778
internal Enumerator(
TextDecorationCollection
list)
889
private
TextDecorationCollection
_list;
Core\CSharp\System\Windows\Media\FormattedText.cs (2)
849
public void SetTextDecorations(
TextDecorationCollection
textDecorations)
860
public void SetTextDecorations(
TextDecorationCollection
textDecorations, int startIndex, int count)
Core\CSharp\System\Windows\Media\TextFormatting\TextParagraphProperties.cs (1)
81
public virtual
TextDecorationCollection
TextDecorations
Core\CSharp\System\Windows\Media\TextFormatting\TextRunProperties.cs (1)
57
public abstract
TextDecorationCollection
TextDecorations
Core\CSharp\system\windows\TextDecorationCollection.cs (2)
49
internal bool ValueEquals(
TextDecorationCollection
textDecorations)
103
public bool TryRemove(IEnumerable<TextDecoration> textDecorations, out
TextDecorationCollection
result)
Core\CSharp\system\windows\TextDecorationCollectionConverter.cs (5)
103
public static new
TextDecorationCollection
ConvertFromString(string text)
110
TextDecorationCollection
textDecorations = new TextDecorationCollection();
192
ConstructorInfo ci = typeof(
TextDecorationCollection
).GetConstructor(
286
private static readonly
TextDecorationCollection
[] PredefinedTextDecorations =
287
new
TextDecorationCollection
[] {
Core\CSharp\System\Windows\TextDecorations.cs (8)
65
public static
TextDecorationCollection
Underline
77
public static
TextDecorationCollection
Strikethrough
88
public static
TextDecorationCollection
OverLine
99
public static
TextDecorationCollection
Baseline
111
private static readonly
TextDecorationCollection
underline;
112
private static readonly
TextDecorationCollection
strikethrough;
113
private static readonly
TextDecorationCollection
overLine;
114
private static readonly
TextDecorationCollection
baseline;
PresentationFramework (98)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (2)
445
TextDecorationCollection
highlightDecorations = highlights.GetHighlightValue(position, LogicalDirection.Forward, typeof(SpellerHighlightLayer)) as
TextDecorationCollection
;
src\Framework\MS\Internal\PtsHost\LineBase.cs (2)
202
TextDecorationCollection
inlineTextDecorations = DynamicPropertyReader.GetTextDecorations(inline);
289
TextDecorationCollection
textDecorations = DynamicPropertyReader.GetTextDecorations(inline);
src\Framework\MS\Internal\Text\ComplexLine.cs (2)
432
TextDecorationCollection
inlineTextDecorations = DynamicPropertyReader.GetTextDecorations(inline);
510
TextDecorationCollection
textDecorations = DynamicPropertyReader.GetTextDecorations(inline);
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (5)
75
internal static
TextDecorationCollection
GetTextDecorationsForInlineObject(DependencyObject element,
TextDecorationCollection
textDecorations)
80
TextDecorationCollection
parentTextDecorations = null;
116
internal static
TextDecorationCollection
GetTextDecorations(DependencyObject element)
118
return GetCollectionValue(element, Inline.TextDecorationsProperty) as
TextDecorationCollection
;
src\Framework\MS\Internal\Text\LineProperties.cs (3)
83
public override
TextDecorationCollection
TextDecorations { get { return _defaultTextProperties.TextDecorations; } }
363
public override
TextDecorationCollection
TextDecorations { get { return _lp.TextDecorations; } }
444
public override
TextDecorationCollection
TextDecorations { get { return _lp.TextDecorations; } }
src\Framework\MS\Internal\Text\TextProperties.cs (7)
65
public override
TextDecorationCollection
TextDecorations { get { return _textDecorations; } }
162
TextDecorationCollection
highlightDecorations = GetHighlightTextDecorations(position);
188
internal TextProperties(TextProperties source,
TextDecorationCollection
textDecorations)
226
private static
TextDecorationCollection
GetHighlightTextDecorations(StaticTextPointer highlightPosition)
228
TextDecorationCollection
textDecorations = null;
239
textDecorations = highlights.GetHighlightValue(highlightPosition, LogicalDirection.Forward, typeof(SpellerHighlightLayer)) as
TextDecorationCollection
;
349
private
TextDecorationCollection
_textDecorations;
src\Framework\MS\Internal\Text\TextSpanModifier.cs (11)
32
private
TextDecorationCollection
_modifierDecorations;
42
public TextSpanModifier(int length,
TextDecorationCollection
textDecorations, Brush foregroundBrush)
54
public TextSpanModifier(int length,
TextDecorationCollection
textDecorations, Brush foregroundBrush, FlowDirection flowDirection)
108
TextDecorationCollection
mergedDecorations;
111
TextDecorationCollection
runDecorations = properties.TextDecorations;
156
private
TextDecorationCollection
CopyTextDecorations(
TextDecorationCollection
textDecorations, Brush brush)
158
TextDecorationCollection
result = new TextDecorationCollection();
184
TextDecorationCollection
_textDecorations;
188
TextDecorationCollection
textDecorations)
210
public override
TextDecorationCollection
TextDecorations
src\Framework\System\Windows\Controls\AccessText.cs (3)
274
new FreezableDefaultValueFactory(
TextDecorationCollection
.Empty),
281
public
TextDecorationCollection
TextDecorations
283
get { return (
TextDecorationCollection
) GetValue(TextDecorationsProperty); }
src\Framework\System\Windows\Controls\TextBlock.cs (3)
956
new FreezableDefaultValueFactory(
TextDecorationCollection
.Empty),
963
public
TextDecorationCollection
TextDecorations
965
get { return (
TextDecorationCollection
) GetValue(TextDecorationsProperty); }
src\Framework\System\Windows\Controls\TextBox.cs (3)
964
new FreezableDefaultValueFactory(
TextDecorationCollection
.Empty),
970
public
TextDecorationCollection
TextDecorations
972
get { return (
TextDecorationCollection
)GetValue(TextDecorationsProperty); }
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (8)
380
return GetTextDecorationColor(decors as
TextDecorationCollection
, TextDecorationLocation.OverLine);
391
return GetTextDecorationLineStyle(decors as
TextDecorationCollection
, TextDecorationLocation.OverLine);
402
return GetTextDecorationColor(decors as
TextDecorationCollection
, TextDecorationLocation.Strikethrough);
413
return GetTextDecorationLineStyle(decors as
TextDecorationCollection
, TextDecorationLocation.Strikethrough);
446
return GetTextDecorationColor(decors as
TextDecorationCollection
, TextDecorationLocation.Underline);
457
return GetTextDecorationLineStyle(decors as
TextDecorationCollection
, TextDecorationLocation.Underline);
1311
private static int GetTextDecorationColor(
TextDecorationCollection
decorations, TextDecorationLocation location)
1337
private static TextDecorationLineStyle GetTextDecorationLineStyle(
TextDecorationCollection
decorations, TextDecorationLocation location)
src\Framework\System\Windows\Documents\DPTypeDescriptorContext.cs (2)
66
stringValue = TextDecorationsFixup((
TextDecorationCollection
)propertyValue);
90
private static string TextDecorationsFixup(
TextDecorationCollection
textDecorations)
src\Framework\System\Windows\Documents\Inline.cs (4)
119
typeof(
TextDecorationCollection
),
122
new FreezableDefaultValueFactory(
TextDecorationCollection
.Empty),
129
public
TextDecorationCollection
TextDecorations
131
get { return (
TextDecorationCollection
) GetValue(TextDecorationsProperty); }
src\Framework\System\Windows\Documents\Paragraph.cs (3)
93
new FreezableDefaultValueFactory(
TextDecorationCollection
.Empty),
100
public
TextDecorationCollection
TextDecorations
102
get { return (
TextDecorationCollection
) GetValue(TextDecorationsProperty); }
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (3)
140
private static
TextDecorationCollection
GetErrorTextDecorations()
178
TextDecorationCollection
decorationCollection = new TextDecorationCollection();
248
private static readonly
TextDecorationCollection
_errorTextDecorations;
src\Framework\System\windows\Documents\TextEditorCharacters.cs (3)
236
TextDecorationCollection
textDecorations = propertyValue != DependencyProperty.UnsetValue ? (
TextDecorationCollection
)propertyValue : null;
238
TextDecorationCollection
toggledTextDecorations;
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (4)
871
if (propertyValue == null ||
TextDecorationCollection
.Empty.ValueEquals(propertyValue as
TextDecorationCollection
))
880
while ((propertyValue == null ||
TextDecorationCollection
.Empty.ValueEquals(propertyValue as
TextDecorationCollection
))
src\Framework\System\Windows\Documents\TextSchema.cs (13)
355
return (value is
TextDecorationCollection
) && ((
TextDecorationCollection
)value).Count > 0;
597
if (value2 is
TextDecorationCollection
)
599
TextDecorationCollection
decorations2 = (
TextDecorationCollection
)value2;
611
if (value1 is
TextDecorationCollection
)
613
TextDecorationCollection
decorations1 = (
TextDecorationCollection
)value1;
632
if (value1 is
TextDecorationCollection
)
634
TextDecorationCollection
decorations1 = (
TextDecorationCollection
)value1;
635
TextDecorationCollection
decorations2 = (
TextDecorationCollection
)value2;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
736
case 644: t = () => typeof(
TextDecorationCollection
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10009
typeof(System.Windows.
TextDecorationCollection
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6188
case KnownElements.TextDecorationCollection: t = typeof(System.Windows.
TextDecorationCollection
); break;
src\Framework\System\Windows\SystemFonts.cs (14)
74
public static
TextDecorationCollection
IconFontTextDecorations
155
public static
TextDecorationCollection
CaptionFontTextDecorations
235
public static
TextDecorationCollection
SmallCaptionFontTextDecorations
312
public static
TextDecorationCollection
MenuFontTextDecorations
392
public static
TextDecorationCollection
StatusFontTextDecorations
471
public static
TextDecorationCollection
MessageFontTextDecorations
495
private static void CopyTextDecorationCollection(
TextDecorationCollection
from,
TextDecorationCollection
to)
1040
private static
TextDecorationCollection
_iconFontTextDecorations;
1041
private static
TextDecorationCollection
_messageFontTextDecorations;
1042
private static
TextDecorationCollection
_statusFontTextDecorations;
1043
private static
TextDecorationCollection
_menuFontTextDecorations;
1044
private static
TextDecorationCollection
_smallCaptionFontTextDecorations;
1045
private static
TextDecorationCollection
_captionFontTextDecorations;