26 references to ValuesAreEqual
PresentationFramework (26)
System\Windows\Controls\RichTextBox.cs (2)
703if (!TextSchema.ValuesAreEqual(inheritedValue, defaultValue)) 707if (!TextSchema.ValuesAreEqual(inheritedValue, defaultValue))
System\Windows\Documents\TextRangeBase.cs (2)
405if (!TextSchema.ValuesAreEqual(value, startValue)) 486if (!TextSchema.ValuesAreEqual(value, startValue))
System\Windows\Documents\TextRangeEdit.cs (12)
108if (!TextSchema.ValuesAreEqual(firstInline.GetValue(property), secondInline.GetValue(property))) 138if (!TextSchema.ValuesAreEqual(firstElement.GetValue(property), secondElement.GetValue(property))) 233start.Parent == end.Parent && TextSchema.ValuesAreEqual(start.Parent.GetValue(formattingProperty), value)) 354if (!TextSchema.ValuesAreEqual(inlineValue, parentSpanValue)) 362if (!TextSchema.ValuesAreEqual(inlineValue, outerValue)) 498if (!TextSchema.ValuesAreEqual(value, outerContextValue)) 922!TextSchema.ValuesAreEqual(currentValue, newValue)) 956if (!TextSchema.ValuesAreEqual(nextChild.GetValue(property), firstChildValue)) 962if (TextSchema.ValuesAreEqual(firstChildValue, currentValue)) 1206if (!TextSchema.ValuesAreEqual(newValue, currentValue)) 1212if (!TextSchema.ValuesAreEqual(newValue, element.GetValue(property))) 1817if (!TextSchema.ValuesAreEqual(inline.GetValue(inheritableProperty), inline.Parent.GetValue(inheritableProperty)))
System\Windows\Documents\TextRangeEditLists.cs (4)
678!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/startListItem.List.GetValue(Paragraph.FlowDirectionProperty))) 698!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/endListItem.List.GetValue(Paragraph.FlowDirectionProperty))) 729(!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/startListItem.List.GetValue(Paragraph.FlowDirectionProperty)))) 737(!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/endListItem.List.GetValue(Paragraph.FlowDirectionProperty))))
System\Windows\Documents\TextRangeSerialization.cs (6)
796!TextSchema.ValuesAreEqual(innerValue, outerValue)) // or the element really affects the property 922write = (metadata == null) || !(TextSchema.ValuesAreEqual(propertyValue, /*defaultValue*/metadata.DefaultValue) && localValue == DependencyProperty.UnsetValue); 1600if (TextSchema.ValuesAreEqual(start.Parent.GetValue(property), value)) 1617!TextSchema.ValuesAreEqual(element.GetValue(property), element.Parent.GetValue(property))) 1636if (!TextSchema.ValuesAreEqual(value, element.GetValue(property))) 1639if (!TextSchema.ValuesAreEqual(value, element.GetValue(property)))