26 references to ValuesAreEqual
PresentationFramework (26)
System\Windows\Controls\RichTextBox.cs (2)
704if (!TextSchema.ValuesAreEqual(inheritedValue, defaultValue)) 708if (!TextSchema.ValuesAreEqual(inheritedValue, defaultValue))
System\Windows\Documents\TextRangeBase.cs (2)
404if (!TextSchema.ValuesAreEqual(value, startValue)) 485if (!TextSchema.ValuesAreEqual(value, startValue))
System\Windows\Documents\TextRangeEdit.cs (12)
107if (!TextSchema.ValuesAreEqual(firstInline.GetValue(property), secondInline.GetValue(property))) 137if (!TextSchema.ValuesAreEqual(firstElement.GetValue(property), secondElement.GetValue(property))) 232start.Parent == end.Parent && TextSchema.ValuesAreEqual(start.Parent.GetValue(formattingProperty), value)) 353if (!TextSchema.ValuesAreEqual(inlineValue, parentSpanValue)) 361if (!TextSchema.ValuesAreEqual(inlineValue, outerValue)) 497if (!TextSchema.ValuesAreEqual(value, outerContextValue)) 921!TextSchema.ValuesAreEqual(currentValue, newValue)) 955if (!TextSchema.ValuesAreEqual(nextChild.GetValue(property), firstChildValue)) 961if (TextSchema.ValuesAreEqual(firstChildValue, currentValue)) 1205if (!TextSchema.ValuesAreEqual(newValue, currentValue)) 1211if (!TextSchema.ValuesAreEqual(newValue, element.GetValue(property))) 1816if (!TextSchema.ValuesAreEqual(inline.GetValue(inheritableProperty), inline.Parent.GetValue(inheritableProperty)))
System\Windows\Documents\TextRangeEditLists.cs (4)
679!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/startListItem.List.GetValue(Paragraph.FlowDirectionProperty))) 699!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/endListItem.List.GetValue(Paragraph.FlowDirectionProperty))) 730(!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/startListItem.List.GetValue(Paragraph.FlowDirectionProperty)))) 738(!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/endListItem.List.GetValue(Paragraph.FlowDirectionProperty))))
System\Windows\Documents\TextRangeSerialization.cs (6)
795!TextSchema.ValuesAreEqual(innerValue, outerValue)) // or the element really affects the property 921write = (metadata == null) || !(TextSchema.ValuesAreEqual(propertyValue, /*defaultValue*/metadata.DefaultValue) && localValue == DependencyProperty.UnsetValue); 1599if (TextSchema.ValuesAreEqual(start.Parent.GetValue(property), value)) 1616!TextSchema.ValuesAreEqual(element.GetValue(property), element.Parent.GetValue(property))) 1635if (!TextSchema.ValuesAreEqual(value, element.GetValue(property))) 1638if (!TextSchema.ValuesAreEqual(value, element.GetValue(property)))