10 references to ValueEquals
PresentationCore (2)
MS\Internal\TextFormatting\GenericTextProperties.cs (1)
101
&& ((_textDecorations == null) ? textRunProperties.TextDecorations == null : _textDecorations.
ValueEquals
(textRunProperties.TextDecorations))
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1462
&& !textDecorations.
ValueEquals
(TextDecorations.Underline))
PresentationFramework (8)
MS\Internal\Text\DynamicPropertyReader.cs (1)
81
: textDecorations.
ValueEquals
(parentTextDecorations);
System\Windows\Documents\DPTypeDescriptorContext.cs (4)
92
if (TextDecorations.Underline.
ValueEquals
(textDecorations))
96
else if (TextDecorations.Strikethrough.
ValueEquals
(textDecorations))
100
else if (TextDecorations.OverLine.
ValueEquals
(textDecorations))
104
else if (TextDecorations.Baseline.
ValueEquals
(textDecorations))
System\Windows\Documents\TextRangeSerialization.cs (2)
858
if (propertyValue == null || TextDecorationCollection.Empty.
ValueEquals
(propertyValue as TextDecorationCollection))
867
while ((propertyValue == null || TextDecorationCollection.Empty.
ValueEquals
(propertyValue as TextDecorationCollection))
System\Windows\Documents\TextSchema.cs (1)
628
return decorations1.
ValueEquals
(decorations2);