26 references to ValuesAreEqual
PresentationFramework (26)
src\Framework\System\Windows\Controls\RichTextBox.cs (2)
721if (!TextSchema.ValuesAreEqual(inheritedValue, defaultValue)) 725if (!TextSchema.ValuesAreEqual(inheritedValue, defaultValue))
src\Framework\System\Windows\Documents\TextRangeBase.cs (2)
419if (!TextSchema.ValuesAreEqual(value, startValue)) 500if (!TextSchema.ValuesAreEqual(value, startValue))
src\Framework\System\Windows\Documents\TextRangeEdit.cs (12)
112if (!TextSchema.ValuesAreEqual(firstInline.GetValue(property), secondInline.GetValue(property))) 142if (!TextSchema.ValuesAreEqual(firstElement.GetValue(property), secondElement.GetValue(property))) 237start.Parent == end.Parent && TextSchema.ValuesAreEqual(start.Parent.GetValue(formattingProperty), value)) 358if (!TextSchema.ValuesAreEqual(inlineValue, parentSpanValue)) 366if (!TextSchema.ValuesAreEqual(inlineValue, outerValue)) 502if (!TextSchema.ValuesAreEqual(value, outerContextValue)) 926!TextSchema.ValuesAreEqual(currentValue, newValue)) 960if (!TextSchema.ValuesAreEqual(nextChild.GetValue(property), firstChildValue)) 966if (TextSchema.ValuesAreEqual(firstChildValue, currentValue)) 1210if (!TextSchema.ValuesAreEqual(newValue, currentValue)) 1216if (!TextSchema.ValuesAreEqual(newValue, element.GetValue(property))) 1821if (!TextSchema.ValuesAreEqual(inline.GetValue(inheritableProperty), inline.Parent.GetValue(inheritableProperty)))
src\Framework\System\Windows\Documents\TextRangeEditLists.cs (4)
682!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/startListItem.List.GetValue(Paragraph.FlowDirectionProperty))) 702!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/endListItem.List.GetValue(Paragraph.FlowDirectionProperty))) 733(!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/startListItem.List.GetValue(Paragraph.FlowDirectionProperty)))) 741(!TextSchema.ValuesAreEqual(/*newValue*/newFlowDirectionValue, /*currentValue*/endListItem.List.GetValue(Paragraph.FlowDirectionProperty))))
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (6)
808!TextSchema.ValuesAreEqual(innerValue, outerValue)) // or the element really affects the property 935write = (metadata == null) || !(TextSchema.ValuesAreEqual(propertyValue, /*defaultValue*/metadata.DefaultValue) && localValue == DependencyProperty.UnsetValue); 1626if (TextSchema.ValuesAreEqual(start.Parent.GetValue(property), value)) 1643!TextSchema.ValuesAreEqual(element.GetValue(property), element.Parent.GetValue(property))) 1662if (!TextSchema.ValuesAreEqual(value, element.GetValue(property))) 1665if (!TextSchema.ValuesAreEqual(value, element.GetValue(property)))