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)
92if (TextDecorations.Underline.ValueEquals(textDecorations)) 96else if (TextDecorations.Strikethrough.ValueEquals(textDecorations)) 100else if (TextDecorations.OverLine.ValueEquals(textDecorations)) 104else if (TextDecorations.Baseline.ValueEquals(textDecorations))
System\Windows\Documents\TextRangeSerialization.cs (2)
858if (propertyValue == null || TextDecorationCollection.Empty.ValueEquals(propertyValue as TextDecorationCollection)) 867while ((propertyValue == null || TextDecorationCollection.Empty.ValueEquals(propertyValue as TextDecorationCollection))
System\Windows\Documents\TextSchema.cs (1)
628return decorations1.ValueEquals(decorations2);