26 references to ValuesAreEqual
PresentationFramework (26)
System\Windows\Controls\RichTextBox.cs (2)
707if (!TextSchema.ValuesAreEqual(inheritedValue, defaultValue)) 711if (!TextSchema.ValuesAreEqual(inheritedValue, defaultValue))
System\Windows\Documents\TextRangeBase.cs (2)
408if (!TextSchema.ValuesAreEqual(value, startValue)) 489if (!TextSchema.ValuesAreEqual(value, startValue))
System\Windows\Documents\TextRangeEdit.cs (12)
110if (!TextSchema.ValuesAreEqual(firstInline.GetValue(property), secondInline.GetValue(property))) 140if (!TextSchema.ValuesAreEqual(firstElement.GetValue(property), secondElement.GetValue(property))) 235start.Parent == end.Parent && TextSchema.ValuesAreEqual(start.Parent.GetValue(formattingProperty), value)) 356if (!TextSchema.ValuesAreEqual(inlineValue, parentSpanValue)) 364if (!TextSchema.ValuesAreEqual(inlineValue, outerValue)) 500if (!TextSchema.ValuesAreEqual(value, outerContextValue)) 924!TextSchema.ValuesAreEqual(currentValue, newValue)) 958if (!TextSchema.ValuesAreEqual(nextChild.GetValue(property), firstChildValue)) 964if (TextSchema.ValuesAreEqual(firstChildValue, currentValue)) 1208if (!TextSchema.ValuesAreEqual(newValue, currentValue)) 1214if (!TextSchema.ValuesAreEqual(newValue, element.GetValue(property))) 1819if (!TextSchema.ValuesAreEqual(inline.GetValue(inheritableProperty), inline.Parent.GetValue(inheritableProperty)))
System\Windows\Documents\TextRangeEditLists.cs (4)
680!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/startListItem.List.GetValue(Paragraph.FlowDirectionProperty))) 700!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/endListItem.List.GetValue(Paragraph.FlowDirectionProperty))) 731(!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/startListItem.List.GetValue(Paragraph.FlowDirectionProperty)))) 739(!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/endListItem.List.GetValue(Paragraph.FlowDirectionProperty))))
System\Windows\Documents\TextRangeSerialization.cs (6)
802!TextSchema.ValuesAreEqual(innerValue, outerValue)) // or the element really affects the property 928write = (metadata == null) || !(TextSchema.ValuesAreEqual(propertyValue, /*defaultValue*/metadata.DefaultValue) && localValue == DependencyProperty.UnsetValue); 1606if (TextSchema.ValuesAreEqual(start.Parent.GetValue(property), value)) 1623!TextSchema.ValuesAreEqual(element.GetValue(property), element.Parent.GetValue(property))) 1642if (!TextSchema.ValuesAreEqual(value, element.GetValue(property))) 1645if (!TextSchema.ValuesAreEqual(value, element.GetValue(property)))